I am trying to set up a mail server for a client using webmin, but when I try and install an ssl certificate using Let's Encrypt I get the following Python error:
Requesting a new certificate for mailserver.mydomain.com, using the website directory /var/www/html ..
.. request failed : Failed to request certificate :
Traceback(mostrecentcalllast):File"/usr/libexec/webmin/webmin/acme_tiny.py",line198,in<module>main(sys.argv[1:])File"/usr/libexec/webmin/webmin/acme_tiny.py",line194,inmainsigned_crt=get_crt(args.account_key,args.csr,args.acme_dir,log=LOGGER,CA=args.ca,disable_check=args.disable_check,directory_url=args.directory_url,contact=args.contact)File"/usr/libexec/webmin/webmin/acme_tiny.py",line121,inget_crtorder,_,order_headers=_send_signed_request(directory['newOrder'],order_payload,"Error creating new order")File"/usr/libexec/webmin/webmin/acme_tiny.py",line52,in_send_signed_requestnew_nonce=_do_request(directory['newNonce'])[2]['Replay-Nonce']File"/usr/libexec/webmin/webmin/acme_tiny.py",line46,in_do_requestraiseValueError("{0}:\nUrl: {1}\nData: {2}\nResponse Code: {3}\nResponse: {4}".format(err_msg,url,data,code,resp_data))ValueError:Error:Url:https://acme-v02.api.letsencrypt.org/acme/new-nonceData:NoneResponseCode:NoneResponse:<urlopenerrorEOFoccurredinviolationofprotocol(_ssl.c:618)>
Any idea what may be going on here, or how to get around it? Thanks.
-Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update: The instructions I saw did not indicate that certbot needed to be installed. I installed that, which updated a bunch of python, and I was able to successfully install the certificate afterwards, so, never mind. :)
-Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to set up a mail server for a client using webmin, but when I try and install an ssl certificate using Let's Encrypt I get the following Python error:
Requesting a new certificate for mailserver.mydomain.com, using the website directory /var/www/html ..
.. request failed : Failed to request certificate :
Any idea what may be going on here, or how to get around it? Thanks.
-Michael
Update: The instructions I saw did not indicate that certbot needed to be installed. I installed that, which updated a bunch of python, and I was able to successfully install the certificate afterwards, so, never mind. :)
-Michael