cURL error 60: SSL certificate problem: certificate has expired

前端 未结 8 2177
清歌不尽
清歌不尽 2020-12-06 09:17

We running 2 application on amazon ec2 (backend.abc.com & frontend.abc.com). For that application, we used a paid SSL Certificate. That

8条回答
  •  抹茶落季
    2020-12-06 09:35

    We have the same error. For solving your issue update your "SSLCertificateChainFile" with the newest version of your trusted SSL site. In our case is comodo.

    You need to go to your trusted site and find under your certificates the "CA-CRT". Copy the content.

    1. Go to your /etc/apache2/sites-available
    2. Find the line wih "SSLCertificateChainFile".
    3. Next edit the file and replace the content with your new CA-CRT values.
    4. Then restart your web server, in our case is apache: service apache2 restart or systemctl restart apache2

    If you can't restart apache the easy way is reboot your instance.

提交回复
热议问题