davide: certificate*

Bookmarks on this page are managed by an admin user.

1 bookmark(s) - Sort by: Date ↓ / Title / Voting / - Bookmarks from other users for this tag

  1. Certificate generated

    Your self-signed certificate has been generated. Download the files below and store in a folder reachable by the web server, for example /etc/apache2/ssl.

    » trance.myftp.com.key

    » trance.myftp.com.cert
    Apache Configuration

    You need the following ssl configuration in your VirtualHost:

    <VirtualHost trance.myftp.com:443>
    ServerName trance.myftp.com

    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl/trance.myftp.com.key
    SSLCertificateFile /etc/apache2/ssl/trance.myftp.com.cert
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

    # ...
    </VirtualHost>

    You will also need all the settings and sections required for a regular HTTP host, such as DocumentRoot and <Directory>. You must also enable apache to listen on port 443, which is done using the directive Listen 443.
    How to repeat

    You can create a key and certificate yourself instead of downloading them from this page. This makes your key more secure. To generate a key:

    openssl genrsa -out trance.myftp.com.key 2048

    And the certificate:

    openssl req -new -x509 -key trance.myftp.com.key -out trance.myftp.com.cert -days 3650 -subj /CN=trance.myftp.com
    http://www.selfsignedcertificate.com
    Tags: , , , by davide (2016-02-05)
    Voting 0

Top of the page

First / Previous / Next / Last / Page 1 of 1 SemanticScuttle: Tags: certificate

About - Propulsed by SemanticScuttle