Install Certbot
$ brew install certbot
#To Decrypt Jenkins Password from credentials.xml | |
#<username>jenkins</username> | |
#<passphrase>your-sercret-hash-S0SKVKUuFfUfrY3UhhUC3J</passphrase> | |
#go to the jenkins url | |
http://jenkins-host/script | |
#In the console paste the script | |
hashed_pw='your-sercret-hash-S0SKVKUuFfUfrY3UhhUC3J' |
$ brew install certbot
certbot certonly [--dry-run] --manual --preferred-challenges dns-01 \
--domain example.com --domain www.example.com [...]
For each host passed via --domain
, Let's Encrypt will prompt the user to create an _acme-challenge
TXT record (_acme-challenge.example.com
, _acme-challenge.www.example.com
, etc.) with a specific value.
#!groovy | |
// imports | |
import com.dubture.jenkins.digitalocean.DigitalOceanCloud | |
import com.dubture.jenkins.digitalocean.SlaveTemplate | |
import jenkins.model.Jenkins | |
// parameters | |
def slaveTemplateParameters = [ | |
idleTerminationInMinutes: '10', |
#!groovy | |
// imports | |
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.domains.Domain | |
import com.cloudbees.plugins.credentials.impl.* | |
import hudson.util.Secret | |
import jenkins.model.Jenkins | |
// parameters |
#!groovy | |
// imports | |
import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.common.* | |
import com.cloudbees.plugins.credentials.domains.Domain | |
import com.cloudbees.plugins.credentials.impl.* | |
import hudson.util.Secret | |
import java.nio.file.Files |
-------------------- | |
Exit Commands | |
-------------------- | |
:q Quit (a warning is printed if a modified file has not been saved) | |
:q! Quit (no warning) | |
:wq Write file to disk and quit the editor (a warning is printed if a modified other files) |
### Commands ### | |
[command] [number] [moiton] | |
:q! - exit | |
:wq - exit save changes | |
:set number / :set nonumber - lines numbering | |
:!command - executes an external command | |
:command - executes an internal command |