some (nginx) SSL Questions
Hi,
my name is Sebastian, i am from Germany and i am new on howtoforge.com.
I now would like to ask for some help.
Some of my friends gave me a new SSL Cert for his Domain.
The are 4 files in the Archive he gave me:
UTNaddTrustServerCA.crt
AddtrustExternalCARoot.crt
domain.crt
domain.key
normaly i only have 2 files. The Cert and the Key file. Is it possible to merge the 3 crt files into 1 file to use it in my nginx Loadbalancer?
I tried to just copy / paste all 3 files into one, but that gave me an nginx error:
[emerg]: SSL_CTX_use_PrivateKey_file("/etc/nginx/ssl/domain.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Second question:
let us say i have one virtual host with servername = test.example.com and serveralias = bla.example.com. Is it possible to configure one ssl cert for test.example.com and different one for bla.example.com in one virtual host?
i would say no.
Thanks and best regards
Sebastian
|
Recent comments
1 day 9 hours ago
1 day 12 hours ago
1 day 23 hours ago
2 days 2 hours ago
2 days 6 hours ago
2 days 13 hours ago
2 days 22 hours ago
3 days 18 min ago
3 days 8 hours ago
3 days 9 hours ago