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 Русский Svenska Thai Türkçe Українська Vietnamese Chinese Taiwan Chinese

Installing an SSL Certificate in Apache (CentOS)

Print this Article
Recently Updated: July 23, 2015 1:55 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.

Μπορείτε επίσης να κάνετε λήψη του πακέτου άμεσων πιστοποιητικών από τον χώρο αποθήκευσης.

Για να εγκαταστήσετε πιστοποιητικό SSL και ενδιάμεσο πιστοποιητικό

  1. Αντιγράψτε το αρχείο του πιστοποιητικού SSL και το αρχείο του πακέτου πιστοποιητικών για τον Apache server. Θα πρέπει να έχετε ήδη το αρχείο κλειδιού στον server από τότε που δημιουργήσατε το αίτημα πιστοποιητικού.
  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. Αποθηκεύστε το αρχείο διαμόρφωσης και επανεκκινήστε το Apache.

Για να επανεκκινήσετε τον web server σας

Η διαδικασία επανεκκίνησης του Apache εξαρτάται σε μεγάλο βαθμό από την πλατφόρμα OS σας. Σε πλατφόρμες τύπου Unix (Linux, Solaris, HP-UX, κ.λπ.) θα τρέξετε κατά κανόνα ένα σενάριο για την παύση και την επανεκκίνηση του httpd daemon. Στα Windows, κατά κανόνα θα σταματήσετε και θα επανεκκινήσετε την υπηρεσία Apache από την κονσόλα διαχείρισης υπηρεσιών. Παρακαλούμε συμβουλευτείτε την τεκμηρίωση OS ή τα εγχειρίδια Apache.

Το πιστοποιητικό SSL έχει εγκατασταθεί. Εάν αντιμετωπίζετε προβλήματα, παρακαλούμε δείτε το Where can I get information about my SSL's configruation? για να σας βοηθήσει να διαγνώσετε τα προβλήματα.