Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • D dtc
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DTC Source Code
  • dtc
  • Wiki
  • How To Setup letsencrypt On dtc Domain

Last edited by Don Gould 3 years ago
Page history

How To Setup letsencrypt On dtc Domain

This page explains how to use the Lets Encrypt Script to set up ssl for your dtc.server.domain

At present this page is just a collection of Don's notes. Clean it up if you will :)

Get the scripts from Don's server at www.yournet.co.nz or out of the git (if they're in there, not currently sure I've updated them).

Step 1 - Back Up First

Make a copy of the files in /var/lib/dtc/etc/ssl

I normally just do a cp

cp /var/lib/dtc/etc/ssl /var/lib/dtc/etc/ssl-backup-22May2024

Now you can roll back if things go pear shape!

Step 2 - Get the dtc let's encrypt wrappers

# wget www.yournet.co.nz/getssl/dtc-getssl
# wget www.yournet.co.nz/getssl/dtc-getssl-update
# wget www.yournet.co.nz/getssl/getssl

Step 3 - Copy the three files you just got into the location we'll be using them from

 ./dtc-getssl -a dtc -d gplhost.co.uk -s dtc -c
  490  ./dtc-getssl -a dtc -d gplhost.co.uk -s dtc -c
  491  nano /home/dtc/.getssl/dtc.gplhost.co.uk/getssl.cfg
  492  ./dtc-getssl -a dtc -d gplhost.co.uk -s dtc
  493  ./dtc-getssl -a dtc -d gplhost.co.uk -s dtc
DOMAIN_CERT_LOCATION="/var/lib/dtc/etc/ssl/new.cert.cert"
DOMAIN_KEY_LOCATION="/var/lib/dtc/etc/ssl/new.cert.key"
CA_CERT_LOCATION="/var/lib/dtc/etc/ssl/new.cert.ca"
Clone repository
  • How To Setup letsencrypt On dtc Domain
  • Home

Menu

Projects Groups Snippets
Help