Skip to content

Instantly share code, notes, and snippets.

@soediro
Last active September 27, 2019 00:25
Show Gist options
  • Save soediro/620ba9bc18bfa15f066d83c2a7f3e3b4 to your computer and use it in GitHub Desktop.
Save soediro/620ba9bc18bfa15f066d83c2a7f3e3b4 to your computer and use it in GitHub Desktop.
generate Letsencrypt certificate on SmartOS
# acme_tiny   --account-key /opt/local/etc/acme/account.key \
            --csr /opt/local/etc/acme/domain.csr \
            --acme-dir /opt/local/www/acme \
            > /opt/local/etc/acme/signed.crt 
# curl -s 'https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem' > /opt/local/etc/acme/intermediate.pem
cat /opt/local/etc/acme/signed.crt /opt/local/etc/acme/intermediate.pem > /opt/local/etc/acme/fullchain.pem 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment