Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
letsencrypt.sh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
letsencrypt.sh
Commits
97d8f71e
Commit
97d8f71e
authored
Dec 08, 2015
by
Lukas Schauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added staging-ca certificate and added verification test to travis config
parent
373b739e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+2
-0
certs/lets-encrypt-staging.pem
certs/lets-encrypt-staging.pem
+19
-0
No files found.
.gitignore
View file @
97d8f71e
...
@@ -3,4 +3,5 @@ domains.txt
...
@@ -3,4 +3,5 @@ domains.txt
config.sh
config.sh
certs/*
certs/*
!certs/lets-encrypt-x1-cross-signed.pem
!certs/lets-encrypt-x1-cross-signed.pem
!certs/lets-encrypt-staging.pem
.acme-challenges/*
.acme-challenges/*
.travis.yml
View file @
97d8f71e
...
@@ -15,9 +15,11 @@ before_script:
...
@@ -15,9 +15,11 @@ before_script:
-
if [[ -z "${TMP_URL}" ]]; then exit 1; fi
-
if [[ -z "${TMP_URL}" ]]; then exit 1; fi
-
echo 'CA="https://acme-staging.api.letsencrypt.org/directory"' > config.sh
-
echo 'CA="https://acme-staging.api.letsencrypt.org/directory"' > config.sh
-
echo 'WELLKNOWN=".acme-challenges/.well-known/acme-challenge"' >> config.sh
-
echo 'WELLKNOWN=".acme-challenges/.well-known/acme-challenge"' >> config.sh
-
echo 'ROOTCERT="lets-encrypt-staging.pem"' >> config.sh
-
echo "${TMP_URL}" > domains.txt
-
echo "${TMP_URL}" > domains.txt
script
:
script
:
-
./letsencrypt.sh
-
./letsencrypt.sh
-
openssl x509 -in "certs/${TMP_URL}/cert.pem" -noout -text
-
openssl x509 -in "certs/${TMP_URL}/cert.pem" -noout -text
-
openssl verify -verbose -CAfile "certs/${ROOTCERT}" -purpose sslserver "certs/${TMP_URL}/cert.pem"
-
./letsencrypt.sh revoke "certs/${TMP_URL}/cert.pem"
-
./letsencrypt.sh revoke "certs/${TMP_URL}/cert.pem"
certs/lets-encrypt-staging.pem
0 → 100644
View file @
97d8f71e
-----BEGIN CERTIFICATE-----
MIIDETCCAfmgAwIBAgIJAJzxkS6o1QkIMA0GCSqGSIb3DQEBCwUAMB8xHTAbBgNV
BAMMFGhhcHB5IGhhY2tlciBmYWtlIENBMB4XDTE1MDQwNzIzNTAzOFoXDTI1MDQw
NDIzNTAzOFowHzEdMBsGA1UEAwwUaGFwcHkgaGFja2VyIGZha2UgQ0EwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDCCkd5mgXFErJ3F2M0E9dw+Ta/md5i
8TDId01HberAApqmydG7UZYF3zLTSzNjlNSOmtybvrSGUnZ9r9tSQcL8VM6WUOM8
tnIpiIjEA2QkBycMwvRmZ/B2ltPdYs/R9BqNwO1g18GDZrHSzUYtNKNeFI6Glamj
7GK2Vr0SmiEamlNIR5ktAFsEErzf/d4jCF7sosMsJpMCm1p58QkP4LHLShVLXDa8
BMfVoI+ipYcA08iNUFkgW8VWDclIDxcysa0psDDtMjX3+4aPkE/cefmP+1xOfUuD
HOGV8XFynsP4EpTfVOZr0/g9gYQ7ZArqXX7GTQkFqduwPm/w5qxSPTarAgMBAAGj
UDBOMB0GA1UdDgQWBBT7eE8S+WAVgyyfF380GbMuNupBiTAfBgNVHSMEGDAWgBT7
eE8S+WAVgyyfF380GbMuNupBiTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUA
A4IBAQAd9Da+Zv+TjMv7NTAmliqnWHY6d3UxEZN3hFEJ58IQVHbBZVZdW7zhRktB
vR05Kweac0HJeK91TKmzvXl21IXLvh0gcNLU/uweD3no/snfdB4OoFompljThmgl
zBqiqWoKBJQrLCA8w5UB+ReomRYd/EYXF/6TAfzm6hr//Xt5mPiUHPdvYt75lMAo
vRxLSbF8TSQ6b7BYxISWjPgFASNNqJNHEItWsmQMtAjjwzb9cs01XH9pChVAWn9L
oeMKa+SlHSYrWG93+EcrIH/dGU76uNOiaDzBSKvaehG53h25MHuO1anNICJvZovW
rFo4Uv1EnkKJm3vJFe50eJGhEKlx
-----END CERTIFICATE-----
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment