Difference: SetupHTTPS (1 vs. 6)

Revision 62017-06-28 - ThomasBoch

 
META TOPICPARENT name="WebHome"

aladin

(d'après instructions https://certbot.eff.org/#centos6-apache )

aladin est une CentOS 6.6


Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain aladin.unistra.fr --domain aladin.u-strasbg.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Récupération certificat :

/opt/letsencrypt/bin/certbot-auto certonly  --domain aladin.unistra.fr --domain aladin.u-strasbg.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Ajout renouvellement dans crontab. Editer crontab et ajouter :

# renew letsencrypt SSL certificate for HTTPS
37 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

Config Apache

Dans /etc/httpd/conf.d/ssl.conf , ajouter/modifier :

SSLCertificateFile /etc/letsencrypt/live/aladin.unistra.fr/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/aladin.unistra.fr/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/aladin.unistra.fr/fullchain.pem

Test : ouvrir https://aladin.unistra.fr dans un navigateur et vérifier qu'on a bien le cadenas vert

cdsweb

OS : Ubuntu 10 (Lucid)

--> il s'est avéré impossible d'installer et de faire tournre certbot, la distrib est trop vieille

alasky --> A FAIRE une fois la bascule faite sur newalasky

alaskybis

dry-run :

Changed:
<
<
/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr
>
>
/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --domain alaskybis.u-strasbg.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr
  création d'un certificat :
Changed:
<
<
/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr
>
>
/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --domain alaskybis.u-strasbg.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr
  ajout dans crontab :

# renew letsencrypt SSL certificate for HTTPS
23 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

config apache :

TO BE DESCRIBED

open https://alaskybis.unistra.fr/ in browser and check we have a green lock:

-- ThomasBoch - 2016-11-25

Added:
>
>

Revision 52017-03-17 - ThomasBoch

 
META TOPICPARENT name="WebHome"

aladin

(d'après instructions https://certbot.eff.org/#centos6-apache )

aladin est une CentOS 6.6


Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

Changed:
<
<
/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr
>
>
/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain aladin.unistra.fr --domain aladin.u-strasbg.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr
 

Récupération certificat :

Changed:
<
<
/opt/letsencrypt/bin/certbot-auto certonly  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr
>
>
/opt/letsencrypt/bin/certbot-auto certonly  --domain aladin.unistra.fr --domain aladin.u-strasbg.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr
  Ajout renouvellement dans crontab. Editer crontab et ajouter :

# renew letsencrypt SSL certificate for HTTPS
37 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

Config Apache

Dans /etc/httpd/conf.d/ssl.conf , ajouter/modifier :

SSLCertificateFile /etc/letsencrypt/live/aladin.unistra.fr/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/aladin.unistra.fr/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/aladin.unistra.fr/fullchain.pem

Test : ouvrir https://aladin.unistra.fr dans un navigateur et vérifier qu'on a bien le cadenas vert

cdsweb

OS : Ubuntu 10 (Lucid)

--> il s'est avéré impossible d'installer et de faire tournre certbot, la distrib est trop vieille

alasky --> A FAIRE une fois la bascule faite sur newalasky

alaskybis

dry-run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

création d'un certificat :

/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

ajout dans crontab :

# renew letsencrypt SSL certificate for HTTPS
23 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

config apache :

TO BE DESCRIBED

open https://alaskybis.unistra.fr/ in browser and check we have a green lock:

-- ThomasBoch - 2016-11-25

Deleted:
<
<

Revision 42016-11-29 - ThomasBoch

 
META TOPICPARENT name="WebHome"

aladin

(d'après instructions https://certbot.eff.org/#centos6-apache )

aladin est une CentOS 6.6


Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Récupération certificat :

/opt/letsencrypt/bin/certbot-auto certonly  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Ajout renouvellement dans crontab. Editer crontab et ajouter :

# renew letsencrypt SSL certificate for HTTPS
37 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

Config Apache

Dans /etc/httpd/conf.d/ssl.conf , ajouter/modifier :

SSLCertificateFile /etc/letsencrypt/live/aladin.unistra.fr/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/aladin.unistra.fr/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/aladin.unistra.fr/fullchain.pem

Test : ouvrir https://aladin.unistra.fr dans un navigateur et vérifier qu'on a bien le cadenas vert

cdsweb

OS : Ubuntu 10 (Lucid)

Changed:
<
<
J'ai du ajouter les dépôts suivants :
>
>
--> il s'est avéré impossible d'installer et de faire tournre certbot, la distrib est trop vieille

Deleted:
<
<
http://old-releases.ubuntu.com/ubuntu lucid main universe
http://old-releases.ubuntu.com/ubuntu lucid-updates main universe
http://old-releases.ubuntu.com/ubuntu lucid-security main universe

Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain cds.unistra.fr --webroot --webroot-path /var/www/html --email thomas.boch@astro.unistra.fr

Récupération certificat :

/opt/letsencrypt/bin/certbot-auto certonly  --domain cds.unistra.fr --webroot --webroot-path /var/www/html --email thomas.boch@astro.unistra.fr

xx

 

Changed:
<
<

>
>

alasky --> A FAIRE une fois la bascule faite sur newalasky

Deleted:
<
<

alasky --> A FAIRE

 

alaskybis

dry-run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

création d'un certificat :

/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

ajout dans crontab :

# renew letsencrypt SSL certificate for HTTPS
23 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

config apache :

TO BE DESCRIBED

open https://alaskybis.unistra.fr/ in browser and check we have a green lock:

-- ThomasBoch - 2016-11-25

Added:
>
>

Revision 32016-11-25 - ThomasBoch

 
META TOPICPARENT name="WebHome"

aladin

(d'après instructions https://certbot.eff.org/#centos6-apache )

aladin est une CentOS 6.6


Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Récupération certificat :

/opt/letsencrypt/bin/certbot-auto certonly  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Ajout renouvellement dans crontab. Editer crontab et ajouter :

# renew letsencrypt SSL certificate for HTTPS
37 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

Config Apache

Dans /etc/httpd/conf.d/ssl.conf , ajouter/modifier :

SSLCertificateFile /etc/letsencrypt/live/aladin.unistra.fr/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/aladin.unistra.fr/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/aladin.unistra.fr/fullchain.pem

Test : ouvrir https://aladin.unistra.fr dans un navigateur et vérifier qu'on a bien le cadenas vert

Changed:
<
<

alasky

>
>

cdsweb

 
Added:
>
>
OS : Ubuntu 10 (Lucid)

J'ai du ajouter les dépôts suivants :

http://old-releases.ubuntu.com/ubuntu lucid main universe
http://old-releases.ubuntu.com/ubuntu lucid-updates main universe
http://old-releases.ubuntu.com/ubuntu lucid-security main universe

Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain cds.unistra.fr --webroot --webroot-path /var/www/html --email thomas.boch@astro.unistra.fr

Récupération certificat :

/opt/letsencrypt/bin/certbot-auto certonly  --domain cds.unistra.fr --webroot --webroot-path /var/www/html --email thomas.boch@astro.unistra.fr

xx

alasky --> A FAIRE

 

alaskybis

dry-run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

création d'un certificat :

/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

ajout dans crontab :

# renew letsencrypt SSL certificate for HTTPS
23 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

config apache :

TO BE DESCRIBED

open https://alaskybis.unistra.fr/ in browser and check we have a green lock:

-- ThomasBoch - 2016-11-25

Deleted:
<
<

Revision 22016-11-25 - ThomasBoch

 
META TOPICPARENT name="WebHome"
Changed:
<
<

alasky

>
>

aladin

 
Added:
>
>
(d'après instructions https://certbot.eff.org/#centos6-apache )

aladin est une CentOS 6.6


Récupération client certbot-auto :

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

Install dans /opt :

mkdir -p /opt/letsencrypt/bin
mv certbot-auto /opt/letsencrypt/bin/

Premier lancement pour installer les paquets nécessaires :

/opt/letsencrypt/bin/certbot-auto

Dry run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Récupération certificat :

/opt/letsencrypt/bin/certbot-auto certonly  --domain aladin.unistra.fr --webroot --webroot-path /var/www/html --email pierre.fernique@astro.unistra.fr

Ajout renouvellement dans crontab. Editer crontab et ajouter :

# renew letsencrypt SSL certificate for HTTPS
37 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

Config Apache

Dans /etc/httpd/conf.d/ssl.conf , ajouter/modifier :

SSLCertificateFile /etc/letsencrypt/live/aladin.unistra.fr/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/aladin.unistra.fr/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/aladin.unistra.fr/fullchain.pem

Test : ouvrir https://aladin.unistra.fr dans un navigateur et vérifier qu'on a bien le cadenas vert

alasky

 

alaskybis

dry-run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

création d'un certificat :

/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

ajout dans crontab :

# renew letsencrypt SSL certificate for HTTPS
23 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew
Added:
>
>
config apache :

TO BE DESCRIBED

open https://alaskybis.unistra.fr/ in browser and check we have a green lock:

  -- ThomasBoch - 2016-11-25

Revision 12016-11-25 - ThomasBoch

 
META TOPICPARENT name="WebHome"

alasky

alaskybis

dry-run :

/opt/letsencrypt/bin/certbot-auto certonly --dry-run  --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

création d'un certificat :

/opt/letsencrypt/bin/certbot-auto certonly --domain alaskybis.unistra.fr --webroot --webroot-path /var/www --email pierre.fernique@astro.unistra.fr

ajout dans crontab :

# renew letsencrypt SSL certificate for HTTPS
23 3 * * *   /opt/letsencrypt/bin/certbot-auto --no-self-upgrade renew

-- ThomasBoch - 2016-11-25

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback