Skip to content

Instantly share code, notes, and snippets.

@damiencarbery
Last active January 12, 2020 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damiencarbery/02af9e1a78ec646a18731847c1638d81 to your computer and use it in GitHub Desktop.
Save damiencarbery/02af9e1a78ec646a18731847c1638d81 to your computer and use it in GitHub Desktop.
Install Let's Encrypt SSL certificate on Blacknight hosting - How to create a Let's Encrypt SSL certificate and install in on your Blacknight hosted website. https://www.damiencarbery.com/2020/01/install-lets-encrypt-ssl-certificate-on-blacknight-hosting/
$domain = 'damiencarbery.com';
le64.exe --renew 10 --live --api 2 \
--generate-missing \
--email "damien@damiencarbery.com" \
--key ${domain}/${domain}.account.key \
--csr ${domain}/${domain}.domain.csr \
--csr-key ${domain}/${domain}.domain.key \
--crt ${domain}/${domain}.domain.crt \
--domains "www.${domain},${domain}"
[ ZeroSSL Crypt::LE client v0.33 started. ]
Generating a new account key
Saving generated account key into damiencarbery.com.account.key
Generating a new CSR for domains www.damiencarbery.com,damiencarbery.com
New CSR will be based on a generated key
Saving a new CSR into damiencarbery.com.domain.csr
Saving a new CSR key into damiencarbery.com.domain.key
Registering the account key
The key has been successfully registered. ID: unknown
Make sure to check TOS at https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf
Current contact details: damien@damiencarbery.com
Challenge for www.damiencarbery.com requires:
A file '5XXXXXXXXXXDk1P1g3hqobI4e98qCCJERAvA9kgwzGc' in '/.well-known/acme-challenge/' with the text: 5XXXXXXXXXXDk1P1g3hqobI4e98qCCJERAvA9kgwzGc.XXXXXXXXXXbDlo96JUmcnhSnrtXqbN4Sw_XVO0y-CwQ
When done, press <Enter>
Challenge for damiencarbery.com requires:
A file 'GXXXXXXXXXXbw19x9zoL82M20AhmXXCekRprUVVSfO0' in '/.well-known/acme-challenge/' with the text: GXXXXXXXXXXbw19x9zoL82M20AhmXXCekRprUVVSfO0.XXXXXXXXXXbDlo96JUmcnhSnrtXqbN4Sw_XVO0y-CwQ
When done, press <Enter>
Domain verification results for 'www.damiencarbery.com': success.
You can now delete the '5XXXXXXXXXXDk1P1g3hqobI4e98qCCJERAvA9kgwzGc' file.
Domain verification results for 'damiencarbery.com': success.
You can now delete the 'GXXXXXXXXXXbw19x9zoL82M20AhmXXCekRprUVVSfO0' file.
Requesting domain certificate.
Requesting issuer's certificate.
Saving the full certificate chain to damiencarbery.com.domain.crt.
The job is done, enjoy your certificate! For feedback and bug reports contact us at [ https://ZeroSSL.com | https://Do-Know.com ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment