Unable to generate certificate in Bitnami / lego client


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. https://crt.sh/?q=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: way2success.in

I ran this command:
sudo lego --email=sachinkinra@gmail.com" --domains
=“way2success.in” --path="/etc/lego run

It produced this output:

My web server is (include version): 2018/05/21 09:56:23 No key found for account sachinkinra@gmail.com --domains=way2success.in --path=/et
c/lego. Generating a curve P384 EC key.
2018/05/21 09:56:23 Could not generate RSA private account key for account sachinkinra@gmail.com --dom
ains=way2success.in --path=/etc/lego: open /tmp/.lego/accounts/acme-v01.api.letsencrypt.org/sachinkinr
a@gmail.com --domains=way2success.in --path=/etc/lego/keys/sachinkinra@gmail.com --domains=way2success
.in --path=/etc/lego.key: no such file or directory

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

My hosting provider, if applicable, is: Google Cloud

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

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


I think that command is missing two quotation marks – before “sachinkinra” and after “run” – and it’s getting parsed in a weird way.

It thinks your email address is actually "sachinkinra@gmail.com --domains=way2success.in --path=/etc/lego".


Yes, that was silly of me… It did generate now. Thanks a ton for now.


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