• Home
  • Cisco
  • Exchange
  • Linux
  • Navision
  • Network
  • Virtualization
  • Windows
  • About
  •  

    ESVA – Change SSL certificate


    Enter this folder:
    /etc/pki/tls/certs

    openssl genrsa -des3 -out “YOUR-DOMAIN”.key 1024
    openssl genrsa -out “YOUR-DOMAIN”.key 1024
    openssl req -new -key “YOUR-DOMAIN”.key -out “YOUR-DOMAIN”.csr

    openssl req -noout -text -in “YOUR-DOMAIN”.csr
    cat “YOUR-DOMAIN”.csr
    Make a SSL request

    copy the response to a “YOUR-DOMAIN”.crt

    Edit this file:
    /etc/httpd/conf.d/ssl.conf

    Edit these two lines:
    SSLCertificateFile /etc/pki/tls/certs/”YOUR-DOMAIN”.crt
    SSLCertificateKeyFile /etc/pki/tls/certs/”YOUR-DOMAIN”.key

    Restart apache