apache2 - Setting up multiple SSL certificate. Certificate and Private Key don't match - Ask Ubuntu


i'm trying set multiple ssl certificates on ubuntu vps running apache. before had 1 certificate 1 domain want set certificate domain.

i bought ssl certificate , sent .crt file uploaded /etc/apache2/ssl/www_domain_com/domain.crt. in virtual host config have following 2 lines

sslcertificatefile     /etc/apache2/ssl/www_domain_com/www_domain_com.crt sslcertificatekeyfile  /etc/apache2/ssl/www_domain_com/server.key 

this working @ moment because apache error log says 2 don't match don't understand server.key file needs contain? should have been sent when bought ssl certificate?

i have server.key file other domain i've set certificate for, need use file?

would able explain purpose of file , how need generate it.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User