I am trying hard to find a solution and also used some help from this topic and I am following the tutorial from here
My domain is: makeyourbrand.in
I ran this command: sudo lego --email="myemail@gmail.com" --domains=makeyourbrand --domains=www.makeyourbrand.in --path="/etc/lego" --webroot="/opt/bitnami/apps/wordpress/htdocs/" run
It produced this output:
2018/12/18 11:07:22 [INFO] [makeyourbrand, www.makeyourbrand.in] acme: Obtaining bundled SAN certificate
2018/12/18 11:07:22 Could not obtain certificates
acme: Error 400 - urn:ietf:params:acme:error:malformed - Error creating new order :: DNS name does not have enough labels
I can login to a root shell on my machine (yes or no, or I don’t know): Yes
I am confused on how to solve this issue, as not much error data is available. I hope someone can help me on this ?
Thank you for replying, it worked for sometime , this time I got a new error actually.
2018/12/18 11:23:04 [INFO] [www.makeyourbrand.in] acme: Trying to solve HTTP-01
2018/12/18 11:23:09 accept tcp [::]:80: use of closed network connection
2018/12/18 11:23:09 Could not obtain certificates
acme: Error -> One or more domains had a problem:
[www.makeyourbrand.in] acme: Error 400 - urn:ietf:params:acme:error:dns - DNS problem: NXDOMAIN looking up A for www.makeyourbrand.in
There is no server.crt ,server.key or server.csr files in /opt/bitnami/apache2/conf/ directory. and I followed exactly same steps as mentioned in the tutorial here
That step simple moves any pre-existing cert to “old” and links to the new cert.
You can ignore the errors about the “mv” for pre-existing cert if you never had one.
As long as you have the new cert: ls -l /etc/lego/certificates/DOMAIN.*
You should be ok to confinue.
@rg305 Thank you for replying, I have completed all the steps but when I run my website on https. It says “ERR_SSL_PROTOCOL_ERROR” in google chrome.
OK then there may be some basic https requirements that have not yet been met.
Is there a file or location where you can specify the use of:
TLSv1.0, TLSv1.1, TLSv1.2, TLSv1.3
And specific ciphers?