ilya bogackiy
ilya bogackiy

Reputation: 51

SSL certification apache

I want to setup https on my site

<VirtualHost 1.2.3.4:443>
  ...
  SSLEngine on

  SSLCertificateFile /usr/local/ssl/www.blabla.com/public.crt
  SSLCertificateKeyFile /usr/local/ssl/www.blabla.com/private.key
  SSLCACertificateFile /usr/local/ssl/www.blabla.com/intermediate.crt
  ...
</VirtualHost>

I've bought certificate and they provide me: ssl certificate code, root certificate code and intermediate certificate code. What is CertificateFile and CertificateKeyFile from these?

Upvotes: 0

Views: 73

Answers (1)

covener
covener

Reputation: 17896

  • SSLCertificateKeyFile would have been passed in as the key when you created the request -- it doesn't come from the CA.
  • SSLCertificateFile is the "ssl certificate code" you got from the CA
  • SSLCAcertificate file is the "root certificate code" you got from the CA
  • The "intermediate certificate code" from the CA should be identified by SSLCertificateChainFile

Upvotes: 1

Related Questions