4. Get SSL certificate using certbot
Install certbot
In home server terminal, install using brew.
brew install certbotInstall certbot AWS Route 53 plugin
The plugin can't be installed by brew. Use python.
$(brew --prefix certbot)/libexec/bin/python -mpip install certbot-dns-route53Check AWS profile
The plugin use boto3, and it use aws profile in the mac server.
cd ~/.aws
cat config
cat credentialsCheck if it shows [default] profile.
The default profile credential have to have route53 related permissions.
Request certificate
I have hosted zone of ourcompanylunch.com.
After answering some question, I can get the certificate.
Show certificate information
This shows certificate path and private key path. These will be used in nginx configuration.
Expire date is after 3 month. Renew is needed.
Last updated