Skip to content

Instantly share code, notes, and snippets.

@bsiegert
Created March 13, 2013 16:32
Show Gist options
  • Save bsiegert/5153850 to your computer and use it in GitHub Desktop.
Save bsiegert/5153850 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# install and configure SSL root certificates on NetBSD with pkgsrc
set -e
pkgin install mozilla-rootcerts
cd /etc/openssl/certs # Default SSLCERTS path for NetBSD
mozilla-rootcerts extract
mozilla-rootcerts rehash
mkdir -p /etc/ssl/certs
cd /etc/ssl/certs
cat ../../openssl/certs/*.pem >ca-certificates.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment