R
R
RuRoman2022-02-08 17:05:08
linux
RuRoman, 2022-02-08 17:05:08

How to properly configure Apache's SSLCACertificateFile?

I do not understand why the directive does not work
SSLCACertificateFile /etc/apache2/myca/ca.crt
. I collect certificates in the file, but only the one that is listed first in the file works.
SSLCACertificatePath
In general, point-blank does not see files in crt fields pem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2022-02-08
@CityCat4

SSLCACertificatePath must point to the path where the certificates and their hashed links are located , which are created by the command:

ln -s somecert.crt `openssl x509 -hash -noout -in somecert.crt`.0

In different places I saw different files with scripts that create links throughout the directory.
SSLCACertificateFile must point to a file where the PEM forms of CA certificates are in a row - no spaces, no text parts. Apache is rather capricious, it is better not to experiment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question