spirit posteets tagged openssl  [ Profile ]

Sort by: Date / Title /

  1. 10 years ago
    Validité: 10 ans. Changer le chemin du certificat, l'état (ST) avec le nom de département par exemple, la ville (L), le propriétaire (0), l'organisation (OU) avec votre entreprise par exemple, et le (CN) avec votre nom de domaine.
    1. openssl req -new -x509 -days 3650 -nodes -utf8 -out /etc/apache2/ssl/yourdomain.crt -keyout /etc/apache2/ssl/yourdomain.key -subj '/C=FR/ST=Yvelines/L=Elancourt/O=John Doe/OU=Organisation Name/CN=www.yourdomain.com'
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1649"></script>
  2. 10 years ago
    quick tutorial
    1. # Enable ssl
    2. a2enmod ssl
    3.  
    4. # Edit /etc/apache2/ports.conf and add "Listen 443"
    5.  
    6. # Generate certs: use your domain as Common Name or *.domain.tld for multiple domains
    7. openssl req -x509 -nodes -days 365 -newkey rsa:1024 -out /etc/apache2/server.crt -keyout /etc/apache2/server.key
    8.  
    9. # In the virtualhost, use the following code:
    10. <VirtualHost 192.168.0.1:443>
    11.         SSLEngine On
    12.         SSLCertificateFile /etc/apache2/server.crt
    13.         SSLCertificateKeyFile /etc/apache2/server.key
    14. </VirtualHost>
    15.  
    16. # Reload apache2
    17. /etc/init.d/apache2 reload
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1037"></script>
  3. 10 years ago and saved by 1 other
    quick & dirty...
    openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem
    
    hint: to generate a wildcard certificate for multiple name-based virtualhosts, use *.domain.tld as the common name.
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1036"></script>
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)