Issue when trying to create certificate

My Domain name is test.asyncwq.cognizant.com

When i am trying to create Certificate I am getting the below error. CAn you please help me with the below error.

Installing Python packages…

Installation succeeded.
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None

An unexpected error occurred:
ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips
Please see the logfiles in /var/log/letsencrypt for more details.

  • sudo sed -i -e ‘s|hashlib.md5|hashlib.sha256|’ /opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/account.py
  • sudo WQ_DOMAIN=test.asyncwq.cognizant.com scl enable python27 '/appl/letsencrypt/certbot-auto certonly --standalone -d test.asyncwq.cognizant.com -m wealthquay@cognizant.com --agree-tos ’
    Saving debug log to /var/log/letsencrypt/letsencrypt.log
    Plugins selected: Authenticator standalone, Installer None

Would you be willing to share your email address with the Electronic Frontier
Foundation, a founding partner of the Let’s Encrypt project and the non-profit
organization that develops Certbot? We’d like to send you email about EFF and
our work to encrypt the web, protect its users and defend digital rights.

(Y)es/(N)o: (Y)es/(N)o: (Y)es/(N)o: (Y)es/(N)o: Yes
An unexpected error occurred:
ValueError: Extra data: line 1 column 77 - line 38 column 1 (char 76 - 1828)
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:

  • Your account credentials have been saved in your Certbot
    configuration directory at /etc/letsencrypt. You should make a
    secure backup of this folder now. This configuration directory will
    also contain certificates and private keys obtained by Certbot so
    making regular backups of this folder is ideal.
  • ‘[’ ‘!’ -z vsftpd ‘]’
  • sudo service vsftpd start
    Redirecting to /bin/systemctl start vsftpd.service
  • [[ vsftpd == \h\t\t\p\d\2\4-\h\t\t\p\d.\s\e\r\v\i\c\e ]]
  • sudo scl enable python27 ‘/appl/letsencrypt/certbot-auto renew --pre-hook ‘’‘systemctl stop vsftpd’’’ --post-hook ‘’‘systemctl start vsftpd’’’ --dry-run’
    Saving debug log to /var/log/letsencrypt/letsencrypt.log

** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates below have not been saved.)

No renewals were attempted.
No hooks were run.
** DRY RUN: simulating ‘certbot renew’ close to cert expiry
** (The test certificates above have not been saved.)

  • echo ‘Setup for Crontab job of certificate renewal started…’
    Setup for Crontab job of certificate renewal started…
  • sudo grep -q 'wq-vsftpd-renew-certs.sh ’ /var/spool/cron/root
  • sudo tee -a /var/spool/cron/root
  • echo ‘00 00 * * * python -c ‘’‘import random; import time; time.sleep(random.random() * 3600)’’’ && /appl/letsencrypt/wq-vsftpd-renew-certs.sh’
    00 00 * * * python -c ‘import random; import time; time.sleep(random.random() * 3600)’ && /appl/letsencrypt/wq-vsftpd-renew-certs.sh
  • echo ‘Setup for Crontab job of certificate renewal completed’
    Setup for Crontab job of certificate renewal completed
    [root@wqtest05 letsencrypt]#

Lets Encrypt Error:
2018-04-12 12:05:49,715:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/bin/letsencrypt”, line 11, in
sys.exit(main())
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 1266, in main
return config.func(config, plugins)
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 1141, in certonly
le_client = _init_le_client(config, auth, installer)
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 635, in _init_le_client
acc, acme = _determine_account(config)
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/main.py”, line 514, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/client.py”, line 172, in register
eff.handle_subscription(config)
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/eff.py”, line 30, in handle_subscription
subscribe(config.email)
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/eff.py”, line 61, in subscribe
_check_response(requests.post(url, data=data))
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/certbot/eff.py”, line 75, in _check_response
if not response.json()[‘status’]:
File “/opt/eff.org/certbot/venv/lib/python2.7/site-packages/requests/models.py”, line 833, in json
self.content.decode(encoding), **kwargs
File “/opt/rh/python27/root/usr/lib64/python2.7/json/init.py”, line 339, in loads
return _default_decoder.decode(s)
File “/opt/rh/python27/root/usr/lib64/python2.7/json/decoder.py”, line 367, in decode
raise ValueError(errmsg(“Extra data”, s, end, len(s)))
ValueError: Extra data: line 1 column 77 - line 38 column 1 (char 76 - 1828)
2018-04-12 12:05:49,720:ERROR:certbot.log:An unexpected error occurred:

Hi @Monica,

This looks like an error related to the option to share your e-mail address with EFF. You can probably work around this error by answering that question with “No” instead of “Yes”.

I’ll ask my colleagues if anyone knows the underlying reason for this error. Sorry for the inconvenience!

1 Like

Thanks schoen for the answer.Let me try to give no and check

Hi Did you check with your colleagues for resolving this error?

ValueError: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips

It looks like that’s this issue here:

Do you need to use FIPS mode for some reason?

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