Creating ssl certificate

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:example.com

I ran this command:certbot certonly --nginx -d example.com

It produced this output:Saving debug log to /var/log/letsencrypt/letsencrypt.log
Could not choose appropriate plugin: The requested nginx plugin does not appear to be installed
The requested nginx plugin does not appear to be installed

My web server is (include version):

The operating system my web server runs on is (include version):debian10

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):certbot 0.31.0

Go on certbot.eff.org and follow the instructions on there.

If you really want to use the apt distribution, the nginx plugin is packaged separately: python-certbot-nginx, I think.

1 Like

Iam applying letsencrypt formula through salt to aws instance, i get Error while running nginx -c /etc/nginx/nginx.conf -t.

              nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/example.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/example.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
              nginx: configuration file /etc/nginx/nginx.conf test failed
              
              The nginx plugin is not working; there may be problems with your existing configuration.
              The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/example.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/example.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n')
          stdout:

      ID: letsencrypt-crontabexample.com
Function: cron.absent
    Name: /usr/bin/certbot renew example.com
  Result: False
 Comment: One or more requisite failed: letsencrypt.domains.create-initial-cert-example.com

aws instance is an minion
and i have salt installed
do i have to open any ports?
or any other procedure to apply letsencrypt for aws instance
i applied certbot certonly --nginx -d example.com, i get same error

Your nginx configuration is referring to certificates that don't exist yet. You have to comment out those references.

1 Like

Thanks, helped me alot.
letsencrypt community is awesome

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.