Installing an SSL Certificate in Apache (CentOS)
After your certificate request is approved, you can download your SSL and intermediate certificate from within the SSL application. For more information see Downloading Your SSL Certificate. Both of these files must be installed on your Web server.
These instructions do not apply to Ubuntu servers running Apache.
Du kan også downloade mellemcertifikatpakken fra arkivet.
Installering af SSL- og mellemcertifikater
- Kopiér din SSL-certifikatfil og certifikatpakken til din Apache-server. Du har formentligt allerede en nøgle på serveren fra da du genererede certifikatanmodningen.
- Locate the following directives in either your
httpd.conf
orssl.conf
file (which files you use depends on how you configured Apache). If one or more of them are currently commented out, uncomment them by removing the#
character from the beginning of the line. Set the values of these directives to the absolute path and filename of the appropriate file, based on your version of Apache:Apache Version < 2.4.8 Directive Path to Enter SSLCertificateFile Certificate file path SSLCertificateKeyFile Key file path SSLCertificateChainFile Intermediate bundle path Apache Version 2.4.8+ Directive Path to Enter SSLCertificateFile Certificate file path SSLCertificateKeyFile Key file path SSLCACertificatePath Intermediate bundle path - Gem din konfigurationsfil og genstart Apache.
Genstart af din webserver
Fremgangsmåden for at genstarte Apache afhænger stærkt af din operativplatform. På Unix-lignende platforme (Linux, Solaris, HP-UX, etc.) skal du typisk genstarte din httpd-daemon. I Windows skal du typisk stoppe og genstarte Apache-tjenesten i Tjenester under Administration. Se venligst også dokumentationen fra udbyderen af dit operativsystem eller Apaches dokumentation.
Dit SSL-Certificate er installeret. Hvis du har problemer, kan du se i Where can I get information about my SSL's configruation? for at få hjælp til at diagnosticere fejl.