Implementation of SSL

gamzatti
Vote 0 Votes

How to implement SSL

I've implemented ssl for my web site using Let's encrypt.

Gamzatti's SSL site
  • Install httpd24
  • yum経由でApache2.4 をインストールしてPHP5.6を動かすまで
    - Install httpd24 in CentOS 6
      Install dirs are followings.
      /opt/rh/httpd24/
      /etc/httpd24
    
  • Install mod ssl
  • SSL の設定
    yum install httpd24-mod_ssl.x86_64
    
  • Create SSL certificate using Let's encrypt
  • CentOS 6.7でLet's Encrypt !!
    - Stop httpd
    /etc/rc.d/init.d/httpd24-httpd stop
    
    - Create SSL certificate using Let's encrypt
     /var/tmp/ssl/letsencrypt
     ./letsencrypt-auto certonly -a standalone -d www.reverse-edge.com
    
     SSL certificate files  are created the following directory.
     /etc/letsencrypt/live/www.reverse-edge.com/
    
    - Setting ssl.conf
    DocumentRoot "/opt/rh/httpd24/root/var/www/html"
    ServerName www.reverse-edge.com:443
    SSLProtocol all -SSLv2 -SSLv3
    SSLCertificateFile /etc/letsencrypt/live/www.reverse-edge.com/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/www.reverse-edge.com/privkey.pem
    
    - Start httpd
    

    2 Comments

    | Leave a comment

    How to update certificate

    cd /var/tmp/ssl
    wget https://dl.eff.org/certbot-auto
    chmod a+x certbot-auto
    ./certbot-auto
    ./certbot-auto renew

    Before update certificate, need to stop httpd.

    service httpd24-httpd stop

    Leave a comment

    About this Entry

    This page contains a single entry by gamzatti published on February 12, 2017 7:10 PM.

    Installation of php from source (CentOS7) was the previous entry in this blog.

    About OpenSSL is the next entry in this blog.

    Find recent content on the main index or look in the archives to find all content.