Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Importing a SSL wild card certificate in Apache24 |
|
Author |
|
Srikara Divakara
Joined: 11 Aug 2017 Posts: 1 Location: India
|
Posted: Fri 11 Aug '17 14:54 Post subject: Importing a SSL wild card certificate in Apache24 |
|
|
Apache version : Apache/2.4.18
OS : FreeBSD 10.2
I was trying to install a commercial SSL certificate generated as wild card certificate generated against CA using wild card like for example *.example.com
and was installing on one of FreeBSD apache server where its operating as abc.example.com
after applying the certificate files in httpd-ssl.conf .. apache is restarting fine but when i try to access via browser i get this error
net::ERR_CERT_COMMON_NAME_INVALID
have put certificates like mentioned below
a) SSLCertificateFile "/root/SSL/example/abc.example.com.cer"
b) SSLCertificateChainFile "/root/SSL/example/abc.example.com.CA.cer"
c) SSLCertificateKeyFile "/root/SSL/example/abc.example.com.key"
and also have put the Virtual hosts section entry as below
<VirtualHost *:443>
ServerName abc.example.com
ServerAlias *.example.com
</VirtualHost>
Please guide me on resolving this issue |
|
Back to top |
|
maba
Joined: 05 Feb 2012 Posts: 64 Location: Germany, Heilbronn
|
Posted: Fri 18 Aug '17 20:36 Post subject: |
|
|
First of all, I would double check whether the correct certificate is loaded. In your browser, look at the certificate details and check what it tells you as the
"common name" (CN) |
|
Back to top |
|
|
|
|
|
|