# SSL Certificate not generating

**URL:** <https://forums.interworx.com/t/ssl-certificate-not-generating/15217>\
**Category:** Bugs\
**Created:** [March 5, 2019, 7:00pm UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217 "2019-03-05T19:00:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![viksp47](https://forums.interworx.com/letter_avatar_proxy/v4/letter/v/82dd89/32.png) [@viksp47](https://forums.interworx.com/u/viksp47)\
**Post date:** [March 5, 2019, 7:00pm UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217/1 "2019-03-05T19:00:56Z")

</div>

I am getting below error while generating SSL using let’s encrypt.

Failed authorization procedure. easy-intervals.eu (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from [http://test…6OENDwPemLK8O0](http://easy-intervals.eu/.well-known/acme-challenge/0L2r9-vYPbjN2ws78QPQIR8xweDo16OENDwPemLK8O0) [37.58.63.168]: “\<!doctype html\>\<html lang=“en”\>\<head\>\<title\>HTTP Status 404 \u2013 Not Found\</title\>\<style type=“text/css”\>h1 {font-family:Tahoma,A”  
Error in atexit.\_run\_exitfuncs:  
Traceback (most recent call last):  
File “/usr/lib64/python2.7/atexit.py”, line 24, in \_run\_exitfuncs  
func(\*targs, \*\*kargs)  
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/util.py”, line 665, in \_atexit\_call  
func(\*args, \*\*kwargs)  
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/reporter.py”, line 98, in print\_messages  
next\_wrapper.fill(line) for line in lines[1:]))  
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2013’ in position 271: ordinal not in range(128)  
Error in sys.exitfunc:  
Exiting abnormally:  
Traceback (most recent call last):  
File “/usr/lib64/python2.7/atexit.py”, line 24, in \_run\_exitfuncs  
func(\*targs, \*\*kargs)  
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/util.py”, line 665, in \_atexit\_call  
func(\*args, \*\*kwargs)  
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/reporter.py”, line 98, in print\_messages  
next\_wrapper.fill(line) for line in lines[1:]))  
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2013’ in position 271: ordinal not in range(128)  
An unexpected error occurred:

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [March 5, 2019, 11:45pm UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217/2 "2019-03-05T23:45:52Z")

</div>

Hi viksp47

Welcome to IW forums

That error looks likely to be an issue with LE systems and not IW, which LE had an issue yesterday but was corrected a few hours later

To be sure, if you goto the siteworx account you were trying to generate LE SSL, administration logs LE, is there anything shown in that log ie A record failed etc

Also, what IW version are you using

I would leave it for 12 hours or so, just Incase you have had too many failed LE attempts and have exceeded LE imposed attempts for LE SSL

Many thanks and sorry if I am wrong

John

---

<div class="post-metadata">

**Author:** ![viksp47](https://forums.interworx.com/letter_avatar_proxy/v4/letter/v/82dd89/32.png) [@viksp47](https://forums.interworx.com/u/viksp47)\
**Post date:** [March 7, 2019, 2:54am UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217/3 "2019-03-07T02:54:39Z")

</div>

Hi ,

I am facing this again,

I have two account in interworx. One for production and another for staging(testing) server.

I am successfully generate SSL certification in the testing server using let’s encrypt but at the same time I am not able to generate in the Production server. so if problem in Lets Encrypt side then the testing server should have to give me the same error but it won’t.

How can I see the version of the interworx.

Thank you

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [March 7, 2019, 3:37am UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217/4 "2019-03-07T03:37:05Z")

</div>

Hi viksp47

The first thing I would do is login to the siteworx account. Your LE is failing on and see if there are dns failures from LE

The second thing I would do is switch LE to test mode, it?s a box when clicking generate using LE, needs changing from live to test

This then stops the banning on LE systems due to failures on repeated attempts

To check the IW version, you login to nodeworx, remote support, and it will show you your distro and IW version.

If posting, please blank your license key etc… just need the distro and IW version

Also, is this dedicated or VPS

Many thanks

John

---

<div class="post-metadata">

**Author:** ![viksp47](https://forums.interworx.com/letter_avatar_proxy/v4/letter/v/82dd89/32.png) [@viksp47](https://forums.interworx.com/u/viksp47)\
**Post date:** [March 23, 2019, 5:02am UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217/5 "2019-03-23T05:02:07Z")

</div>

Please check below log. I am still not able generate SSL certificate.

Please see the logfiles in /var/log/letsencrypt for more details. - The following errors were reported by the server:IMPORTANT NOTES:UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2013’ in position 271: ordinal not in range(128)An unexpected error occurred:UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2013’ in position 271: ordinal not in range(128) next\_wrapper.fill(line) for line in lines[1:])) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/reporter.py”, line 98, in print\_messages func(\*args, \*\*kwargs) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/util.py”, line 665, in \_atexit\_call func(\*targs, \*\*kargs) File “/usr/lib64/python2.7/atexit.py”, line 24, in \_run\_exitfuncsTraceback (most recent call last):Exiting abnormally:Error in sys.exitfunc:UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2013’ in position 271: ordinal not in range(128) next\_wrapper.fill(line) for line in lines[1:])) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/reporter.py”, line 98, in print\_messages func(\*args, \*\*kwargs) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/util.py”, line 665, in \_atexit\_call func(\*targs, \*\*kargs) File “/usr/lib64/python2.7/atexit.py”, line 24, in \_run\_exitfuncsTraceback (most recent call last):Error in atexit.\_run\_exitfuncs:Some challenges have failed.AuthorizationError: Some challenges have failed. raise errors.AuthorizationError(‘Some challenges have failed.’) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/auth\_handler.py”, line 154, in \_poll\_authorizations self.\_poll\_authorizations(authzrs, max\_retries, best\_effort) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/auth\_handler.py”, line 90, in handle\_authorizations authzr = self.auth\_handler.handle\_authorizations(orderr, best\_effort) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/client.py”, line 389, in \_get\_order\_and\_authorizations orderr = self.\_get\_order\_and\_authorizations(csr.data, self.config.allow\_subset\_of\_names) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/client.py”, line 353, in obtain\_certificate cert, chain, key, \_ = self.obtain\_certificate(domains) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/client.py”, line 410, in obtain\_and\_enroll\_certificate lineage = le\_client.obtain\_and\_enroll\_certificate(domains, certname) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 121, in \_get\_and\_save\_cert lineage = \_get\_and\_save\_cert(le\_client, config, domains, certname, lineage) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 1250, in certonly return config.func(config, plugins) File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 1365, in main sys.exit(main()) File “/opt/eff.org/certbot/venv/bin/letsencrypt”, line 11, in \<module\>Traceback (most recent call last):Exiting abnormally:All challenges cleaned up.

If you have any way to generate SSL certificate in siteworx then please do let me know.

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [March 24, 2019, 2:55am UTC](https://forums.interworx.com/t/ssl-certificate-not-generating/15217/6 "2019-03-24T02:55:48Z")

</div>

Hi viksp47

Many thanks

I would open a support ticket with your license provider to resolve

Many thanks

John
