Guest User

Untitled

a guest
Jan 23rd, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
  2. error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  3. More details here: http://curl.haxx.se/docs/sslcerts.html
  4.  
  5. curl https://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
  6.  
  7. # cat /etc/pki/ca-trust/source/README
  8. This directory /etc/pki/ca-trust/source/ contains CA certificates and
  9. trust settings in the PEM file format. The trust settings found here will be
  10. interpreted with a high priority - higher than the ones found in
  11. /usr/share/pki/ca-trust-source/.
  12.  
  13. =============================================================================
  14. QUICK HELP: To add a certificate in the simple PEM or DER file formats to the
  15. list of CAs trusted on the system:
  16.  
  17. Copy it to the
  18. /etc/pki/ca-trust/source/anchors/
  19. subdirectory, and run the
  20. update-ca-trust
  21. command.
  22.  
  23. If your certificate is in the extended BEGIN TRUSTED file format,
  24. then place it into the main source/ directory instead.
  25. =============================================================================
  26.  
  27. Please refer to the update-ca-trust(8) manual page for additional information
  28.  
  29. curl --cacert /etc/ssl/certs/ca-bundle.crt https://google.com/
  30.  
  31. rpm -qf /etc/pki/tls/certs/ca-bundle.crt
  32.  
  33. sudo yum reinstall ca-certificates
Add Comment
Please, Sign In to add comment