LetsEncrypt SSL

From TempusServa wiki
Revision as of 22:50, 25 November 2019 by old>Admin (→‎Installation)
Jump to navigation Jump to search

THIS PAGE IS UNDRE DEVELOPMENT AND IS NOT YET COMPLETE

Installation

Adding EPEL repositories til Linux (if not present)

  sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Then install required librarys

  sudo yum install pytest
  sudo yum install python-zope-interface

Then install certbot

  sudo yum install certbot


Installation

Download an build certbot (eletsencrypt client)

  sudo yum install python27-devel git
  sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
  /opt/letsencrypt/letsencrypt-auto --debug

Now generate a certificate

   sudo certbot certonly --webroot -w /usr/share/tomcat7/webapps -d letsencrypt.tempusserva.dk