How to install an Intermediate CA cert in Apache?

发布于: 1 August, 2018
分享:

Environment

  • All Red Hat Enterprise Linux versions
  • Apache httpd - all versions

Issue

  • You need to install an Intermediate CA certificate. How to do it in Apache?

Resolution

Standard one-way HTTPS

  1. Backup up all involved files before manipulating them.
  2. Locate the Apache configuration file where your Virtual Host is configured.
  3. Locate the line "SSLCertificateChainFile". For example:
SSLCertificateChainFile /etc/pki/tls/certs/chain.crt
  1. Copy and paste the contents of the Intermediate CA into your CA chain file (append to chain.crt ).
  2. Restart Apache httpd:
# service httpd restart

Two-way SSL (Client Authentication)

  1. Backup up all involved files before manipulating them.
  2. Locate the Apache configuration file where your Virtual Host is configured.
  3. Locate the line "SSLCACertificateFile". For example:
SSLCACertificateFile /etc/httpd/conf/ssl.crt/my_ca.crt
  1. Copy and paste the contents of the Intermediate CA into your CA cert (append to my_ca.crt ).
  2. Restart Apache httpd:
# service httpd restart
CA
分享:

0 留言

留言

您的留言将被人工审核,请勿发表色情、反动言论。

您可能感兴趣

Laravel Forge 管理自定义服务器

Laravel Forge 可以让用户轻松管理服务器,提供了一系列的功能,可以让用户快速部署应用,并且可以自动安装...