Frequently Asked Questions

Other Languages: Dansk Deutsch Ελληνικά English Español Suomi Filipino Français Indonesian Italiano Japanese Korean Malay Bokmål Nederlands Polski Português - Brasil Português - Portugal Русский Thai Türkçe Українська Vietnamese Chinese Taiwan Chinese

Installing an SSL Certificate in Apache (CentOS)

Print this Article
Recently Updated: July 23, 2015 1:57 PM

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 också ladda ner det mellanliggande certifikatpaketet från lagringsplats.

Så här installerar du SSL och mellanliggande certifikat

  1. Kopiera din SSL-certifikatfil och certifikatpaketfilen till din Apache-server. Du bör redan ha en nyckelfil på servern från tillfället då du skapade din certifikatbegäran.
  2. Locate the following directives in either your httpd.conf or ssl.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
  3. Spara konfigurationsfilen och starta om Apache.

Så här startar du om din webbserver

Proceduren för att starta om Apache beror mycket på din OS-plattform. På Unix-liknande plattformar (Linux, Solaris, HP-UX osv.) kör du vanligtvis ett skript för att avsluta och starta om httpd-demonen. På Windows avslutar och startar du vanligtvis om Apache-tjänsten i konsolen för tjänsteadministration. Läs mer i OS-leverantörens dokumentation eller i Apache-dokumentationen.

Ditt SSL-certifikat har installerats. Om du har problem kan du få information i Where can I get information about my SSL's configruation? som hjälper dig diagnostisera problemen.