Apache 2.4.9 fails after enabling ssl module and setting up ssl certificate

前端 未结 6 1121
悲哀的现实
悲哀的现实 2021-02-07 21:39

Apache throws the following errors after attempting to set up ssl certificates:

[ssl:emerg] [pid 30907] AH02572: Failed to configure at least one certificate and         


        
6条回答
  •  鱼传尺愫
    2021-02-07 21:55

    I ran into the same problem. Now I resolved it.

    You included

    /private/etc/apache2/extra/httpd-ssl.conf 
    

    in httpd.conf.

    So you still need to set following keys in 'httpd-ssl.conf'

    SSLCertificateFile "path to your crt"
    SSLCertificateKeyFile "path to your key"
    

    Hope it is helpful.

提交回复
热议问题