some (nginx) SSL Questions
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:
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)
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