On Mon, May 1, 2023 at 6:22 PM Patrick O'Callaghan
<pocallag...@gmail.com> wrote:
>
> My small web server appears to be working and even has https, however
> I've noticed this in /var/log/httpd/ssl_error_log:
>
> [...] AH01909: bree.org.uk:443:0 server certificate does NOT include an ID 
> which matches the server name
>
> The ServerName is set to bree.org.uk, and that's the name under which I
> obtained the certificate, so I'm not sure what's going on here.

Here's what we use for cryptopp.com. Some things are listed twice
because cryptopp.conf has the config for both port 80 and 443.

# cat /etc/apache2/sites-available/cryptopp.conf | grep cryptopp.com
        # port 80 stuff
        ServerName cryptopp.com
        ServerAlias www.cryptopp.com *.cryptopp.com
        Redirect permanent / https://cryptopp.com/
        ServerAdmin webmas...@cryptopp.com
        # port 443 stuff
        ServerName cryptopp.com
        ServerAlias www.cryptopp.com *.cryptopp.com
        ServerAdmin webmas...@cryptopp.com
        SSLCertificateFile /etc/ssl/private/cryptopp-com.cert.pem
        SSLCertificateKeyFile /etc/ssl/private/cryptopp-com.key.pem
        SSLCertificateChainFile /etc/ssl/private/cryptopp-com.chain.pem

Jeff
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to