Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
43b1a4bf
Unverified
Commit
43b1a4bf
authored
Nov 23, 2022
by
neil
Committed by
GitHub
Nov 23, 2022
Browse files
Merge pull request #4405 from acmesh-official/dev
sync
parents
7221d488
cdb238e4
Changes
19
Show whitespace changes
Inline
Side-by-side
.github/workflows/DNS.yml
View file @
43b1a4bf
...
@@ -65,9 +65,9 @@ jobs:
...
@@ -65,9 +65,9 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Set env file
-
name
:
Set env file
run
:
|
run
:
|
cd ../acmetest
cd ../acmetest
...
@@ -113,11 +113,11 @@ jobs:
...
@@ -113,11 +113,11 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install tools
-
name
:
Install tools
run
:
brew install socat
run
:
brew install socat
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
run
:
|
run
:
|
if [ "${{ secrets.TokenName1}}" ] ; then
if [ "${{ secrets.TokenName1}}" ] ; then
...
@@ -164,7 +164,7 @@ jobs:
...
@@ -164,7 +164,7 @@ jobs:
-
name
:
Set git to use LF
-
name
:
Set git to use LF
run
:
|
run
:
|
git config --global core.autocrlf false
git config --global core.autocrlf false
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install cygwin base packages with chocolatey
-
name
:
Install cygwin base packages with chocolatey
run
:
|
run
:
|
choco config get cacheLocation
choco config get cacheLocation
...
@@ -172,14 +172,14 @@ jobs:
...
@@ -172,14 +172,14 @@ jobs:
shell
:
cmd
shell
:
cmd
-
name
:
Install cygwin additional packages
-
name
:
Install cygwin additional packages
run
:
|
run
:
|
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,unzip,git
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http
s
://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,unzip,git
shell
:
cmd
shell
:
cmd
-
name
:
Set ENV
-
name
:
Set ENV
shell
:
cmd
shell
:
cmd
run
:
|
run
:
|
echo PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin >> %GITHUB_ENV%
echo PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin >> %GITHUB_ENV%
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
shell
:
bash
shell
:
bash
run
:
|
run
:
|
...
@@ -223,9 +223,9 @@ jobs:
...
@@ -223,9 +223,9 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/freebsd-vm@v0
-
uses
:
vmactions/freebsd-vm@v0
with
:
with
:
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
...
@@ -274,9 +274,9 @@ jobs:
...
@@ -274,9 +274,9 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/openbsd-vm@v0
-
uses
:
vmactions/openbsd-vm@v0
with
:
with
:
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
...
@@ -325,9 +325,9 @@ jobs:
...
@@ -325,9 +325,9 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/netbsd-vm@v0
-
uses
:
vmactions/netbsd-vm@v0
with
:
with
:
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
...
@@ -377,9 +377,9 @@ jobs:
...
@@ -377,9 +377,9 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/dragonflybsd-vm@v0
-
uses
:
vmactions/dragonflybsd-vm@v0
with
:
with
:
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
...
@@ -433,9 +433,9 @@ jobs:
...
@@ -433,9 +433,9 @@ jobs:
TokenName4
:
${{ secrets.TokenName4}}
TokenName4
:
${{ secrets.TokenName4}}
TokenName5
:
${{ secrets.TokenName5}}
TokenName5
:
${{ secrets.TokenName5}}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/solaris-vm@v0
-
uses
:
vmactions/solaris-vm@v0
with
:
with
:
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
HTTPS_INSECURE
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
envs
:
'
TEST_DNS
TestingDomain
TEST_DNS_NO_WILDCARD
TEST_DNS_NO_SUBDOMAIN
TEST_DNS_SLEEP
CASE
TEST_LOCAL
DEBUG
http_proxy
https_proxy
HTTPS_INSECURE
TokenName1
TokenName2
TokenName3
TokenName4
TokenName5
${{
secrets.TokenName1}}
${{
secrets.TokenName2}}
${{
secrets.TokenName3}}
${{
secrets.TokenName4}}
${{
secrets.TokenName5}}'
...
...
.github/workflows/DragonFlyBSD.yml
View file @
43b1a4bf
...
@@ -45,8 +45,8 @@ jobs:
...
@@ -45,8 +45,8 @@ jobs:
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
uses
:
vmactions/cf-tunnel@v0
.0.3
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
protocol
:
http
protocol
:
http
...
@@ -54,7 +54,7 @@ jobs:
...
@@ -54,7 +54,7 @@ jobs:
-
name
:
Set envs
-
name
:
Set envs
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/dragonflybsd-vm@v0
-
uses
:
vmactions/dragonflybsd-vm@v0
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN'
...
...
.github/workflows/FreeBSD.yml
View file @
43b1a4bf
...
@@ -51,8 +51,8 @@ jobs:
...
@@ -51,8 +51,8 @@ jobs:
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
uses
:
vmactions/cf-tunnel@v0
.0.3
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
protocol
:
http
protocol
:
http
...
@@ -60,7 +60,7 @@ jobs:
...
@@ -60,7 +60,7 @@ jobs:
-
name
:
Set envs
-
name
:
Set envs
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/freebsd-vm@v0
-
uses
:
vmactions/freebsd-vm@v0
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
...
...
.github/workflows/Linux.yml
View file @
43b1a4bf
...
@@ -33,11 +33,11 @@ jobs:
...
@@ -33,11 +33,11 @@ jobs:
TEST_PREFERRED_CHAIN
:
(STAGING) Pretend Pear X1
TEST_PREFERRED_CHAIN
:
(STAGING) Pretend Pear X1
TEST_ACME_Server
:
"
LetsEncrypt.org_test"
TEST_ACME_Server
:
"
LetsEncrypt.org_test"
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
|
run
:
|
cd .. \
cd .. \
&& git clone https://github.com/acmesh-official/acmetest.git \
&& git clone
--depth=1
https://github.com/acmesh-official/acmetest.git \
&& cp -r acme.sh acmetest/
&& cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
run
:
|
run
:
|
...
...
.github/workflows/MacOS.yml
View file @
43b1a4bf
...
@@ -44,13 +44,13 @@ jobs:
...
@@ -44,13 +44,13 @@ jobs:
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install tools
-
name
:
Install tools
run
:
brew install socat
run
:
brew install socat
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
|
run
:
|
cd .. \
cd .. \
&& git clone https://github.com/acmesh-official/acmetest.git \
&& git clone
--depth=1
https://github.com/acmesh-official/acmetest.git \
&& cp -r acme.sh acmetest/
&& cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
run
:
|
run
:
|
...
...
.github/workflows/NetBSD.yml
View file @
43b1a4bf
...
@@ -45,8 +45,8 @@ jobs:
...
@@ -45,8 +45,8 @@ jobs:
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
uses
:
vmactions/cf-tunnel@v0
.0.3
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
protocol
:
http
protocol
:
http
...
@@ -54,14 +54,14 @@ jobs:
...
@@ -54,14 +54,14 @@ jobs:
-
name
:
Set envs
-
name
:
Set envs
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/netbsd-vm@v0
-
uses
:
vmactions/netbsd-vm@v0
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN'
nat
:
|
nat
:
|
"8080": "80"
"8080": "80"
prepare
:
|
prepare
:
|
export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
export PKG_PATH="http
s
://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
pkg_add curl socat
pkg_add curl socat
usesh
:
true
usesh
:
true
copyback
:
false
copyback
:
false
...
...
.github/workflows/OpenBSD.yml
View file @
43b1a4bf
...
@@ -51,8 +51,8 @@ jobs:
...
@@ -51,8 +51,8 @@ jobs:
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
uses
:
vmactions/cf-tunnel@v0
.0.3
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
protocol
:
http
protocol
:
http
...
@@ -60,7 +60,7 @@ jobs:
...
@@ -60,7 +60,7 @@ jobs:
-
name
:
Set envs
-
name
:
Set envs
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/openbsd-vm@v0
-
uses
:
vmactions/openbsd-vm@v0
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
...
...
.github/workflows/PebbleStrict.yml
View file @
43b1a4bf
...
@@ -33,7 +33,7 @@ jobs:
...
@@ -33,7 +33,7 @@ jobs:
TEST_CA
:
"
Pebble
Intermediate
CA"
TEST_CA
:
"
Pebble
Intermediate
CA"
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat
run
:
sudo apt-get install -y socat
-
name
:
Run Pebble
-
name
:
Run Pebble
...
@@ -41,7 +41,7 @@ jobs:
...
@@ -41,7 +41,7 @@ jobs:
-
name
:
Set up Pebble
-
name
:
Set up Pebble
run
:
curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
run
:
curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
run
:
cd ../acmetest && ./letest.sh
run
:
cd ../acmetest && ./letest.sh
...
@@ -58,7 +58,7 @@ jobs:
...
@@ -58,7 +58,7 @@ jobs:
TEST_IPCERT
:
1
TEST_IPCERT
:
1
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat
run
:
sudo apt-get install -y socat
-
name
:
Run Pebble
-
name
:
Run Pebble
...
@@ -67,6 +67,6 @@ jobs:
...
@@ -67,6 +67,6 @@ jobs:
-e PEBBLE_VA_ALWAYS_VALID=1 \
-e PEBBLE_VA_ALWAYS_VALID=1 \
-p 14000:14000 -p 15000:15000 letsencrypt/pebble:latest pebble -config /test/config/pebble-config.json -strict
-p 14000:14000 -p 15000:15000 letsencrypt/pebble:latest pebble -config /test/config/pebble-config.json -strict
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
run
:
cd ../acmetest && ./letest.sh
run
:
cd ../acmetest && ./letest.sh
\ No newline at end of file
.github/workflows/Solaris.yml
View file @
43b1a4bf
...
@@ -51,8 +51,8 @@ jobs:
...
@@ -51,8 +51,8 @@ jobs:
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
uses
:
vmactions/cf-tunnel@v0
.0.3
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
protocol
:
http
protocol
:
http
...
@@ -60,7 +60,7 @@ jobs:
...
@@ -60,7 +60,7 @@ jobs:
-
name
:
Set envs
-
name
:
Set envs
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/solaris-vm@v0
-
uses
:
vmactions/solaris-vm@v0
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
...
...
.github/workflows/Ubuntu.yml
View file @
43b1a4bf
...
@@ -70,7 +70,7 @@ jobs:
...
@@ -70,7 +70,7 @@ jobs:
TestingDomain
:
${{ matrix.TestingDomain }}
TestingDomain
:
${{ matrix.TestingDomain }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat wget
run
:
sudo apt-get install -y socat wget
-
name
:
Start StepCA
-
name
:
Start StepCA
...
@@ -88,7 +88,7 @@ jobs:
...
@@ -88,7 +88,7 @@ jobs:
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
|
run
:
|
cd .. \
cd .. \
&& git clone https://github.com/acmesh-official/acmetest.git \
&& git clone
--depth=1
https://github.com/acmesh-official/acmetest.git \
&& cp -r acme.sh acmetest/
&& cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
run
:
|
run
:
|
...
...
.github/workflows/Windows.yml
View file @
43b1a4bf
...
@@ -49,7 +49,7 @@ jobs:
...
@@ -49,7 +49,7 @@ jobs:
-
name
:
Set git to use LF
-
name
:
Set git to use LF
run
:
|
run
:
|
git config --global core.autocrlf false
git config --global core.autocrlf false
-
uses
:
actions/checkout@v
2
-
uses
:
actions/checkout@v
3
-
name
:
Install cygwin base packages with chocolatey
-
name
:
Install cygwin base packages with chocolatey
run
:
|
run
:
|
choco config get cacheLocation
choco config get cacheLocation
...
@@ -57,7 +57,7 @@ jobs:
...
@@ -57,7 +57,7 @@ jobs:
shell
:
cmd
shell
:
cmd
-
name
:
Install cygwin additional packages
-
name
:
Install cygwin additional packages
run
:
|
run
:
|
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,unzip,git,xxd
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http
s
://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,unzip,git,xxd
shell
:
cmd
shell
:
cmd
-
name
:
Set ENV
-
name
:
Set ENV
shell
:
cmd
shell
:
cmd
...
@@ -69,7 +69,7 @@ jobs:
...
@@ -69,7 +69,7 @@ jobs:
echo "PATH=%PATH%"
echo "PATH=%PATH%"
-
name
:
Clone acmetest
-
name
:
Clone acmetest
shell
:
cmd
shell
:
cmd
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone
--depth=1
https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Run acmetest
-
name
:
Run acmetest
shell
:
cmd
shell
:
cmd
run
:
cd ../acmetest && bash.exe -c ./letest.sh
run
:
cd ../acmetest && bash.exe -c ./letest.sh
...
...
.github/workflows/dockerhub.yml
View file @
43b1a4bf
...
@@ -41,7 +41,7 @@ jobs:
...
@@ -41,7 +41,7 @@ jobs:
if
:
"
contains(needs.CheckToken.outputs.hasToken,
'true')"
if
:
"
contains(needs.CheckToken.outputs.hasToken,
'true')"
steps
:
steps
:
-
name
:
checkout code
-
name
:
checkout code
uses
:
actions/checkout@v
2
uses
:
actions/checkout@v
3
-
name
:
Set up QEMU
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v1
uses
:
docker/setup-qemu-action@v1
-
name
:
Set up Docker Buildx
-
name
:
Set up Docker Buildx
...
...
Dockerfile
View file @
43b1a4bf
FROM
alpine:3.1
5
FROM
alpine:3.1
6.3
RUN
apk
--no-cache
add
-f
\
RUN
apk
--no-cache
add
-f
\
openssl
\
openssl
\
...
...
acme.sh
View file @
43b1a4bf
...
@@ -4050,8 +4050,7 @@ _ns_lookup_dp() {
...
@@ -4050,8 +4050,7 @@ _ns_lookup_dp() {
_ns_lookup_impl
"
$_cf_ep
"
"
$_cf_ld
"
"
$_cf_ld_type
"
_ns_lookup_impl
"
$_cf_ep
"
"
$_cf_ld
"
"
$_cf_ld_type
"
}
}
#domain, type
_ns_select_doh
()
{
_ns_lookup
()
{
if
[
-z
"
$DOH_USE
"
]
;
then
if
[
-z
"
$DOH_USE
"
]
;
then
_debug
"Detect dns server first."
_debug
"Detect dns server first."
if
_ns_is_available_cf
;
then
if
_ns_is_available_cf
;
then
...
@@ -4070,7 +4069,11 @@ _ns_lookup() {
...
@@ -4070,7 +4069,11 @@ _ns_lookup() {
_err
"No doh"
_err
"No doh"
fi
fi
fi
fi
}
#domain, type
_ns_lookup
()
{
_ns_select_doh
if
[
"
$DOH_USE
"
=
"
$DOH_CLOUDFLARE
"
]
||
[
-z
"
$DOH_USE
"
]
;
then
if
[
"
$DOH_USE
"
=
"
$DOH_CLOUDFLARE
"
]
||
[
-z
"
$DOH_USE
"
]
;
then
_ns_lookup_cf
"
$@
"
_ns_lookup_cf
"
$@
"
elif
[
"
$DOH_USE
"
=
"
$DOH_GOOGLE
"
]
;
then
elif
[
"
$DOH_USE
"
=
"
$DOH_GOOGLE
"
]
;
then
...
@@ -4093,6 +4096,7 @@ __check_txt() {
...
@@ -4093,6 +4096,7 @@ __check_txt() {
_debug
"_c_txtdomain"
"
$_c_txtdomain
"
_debug
"_c_txtdomain"
"
$_c_txtdomain
"
_debug
"_c_aliasdomain"
"
$_c_aliasdomain
"
_debug
"_c_aliasdomain"
"
$_c_aliasdomain
"
_debug
"_c_txt"
"
$_c_txt
"
_debug
"_c_txt"
"
$_c_txt
"
_ns_select_doh
_answers
=
"
$(
_ns_lookup
"
$_c_aliasdomain
"
TXT
)
"
_answers
=
"
$(
_ns_lookup
"
$_c_aliasdomain
"
TXT
)
"
_contains
"
$_answers
"
"
$_c_txt
"
_contains
"
$_answers
"
"
$_c_txt
"
...
...
dnsapi/dns_acmeproxy.sh
View file @
43b1a4bf
#!/usr/bin/env sh
#!/usr/bin/env sh
## Acmeproxy DNS provider to be used with acmeproxy (http://github.com/mdbraber/acmeproxy)
## Acmeproxy DNS provider to be used with acmeproxy (http
s
://github.com/mdbraber/acmeproxy)
## API integration by Maarten den Braber
## API integration by Maarten den Braber
##
##
## Report any bugs via https://github.com/mdbraber/acme.sh
## Report any bugs via https://github.com/mdbraber/acme.sh
...
...
dnsapi/dns_gandi_livedns.sh
View file @
43b1a4bf
#!/usr/bin/env sh
#!/usr/bin/env sh
# Gandi LiveDNS v5 API
# Gandi LiveDNS v5 API
# http://doc.livedns.gandi.net/
# http
s
://doc.livedns.gandi.net/
# currently under beta
# currently under beta
#
#
# Requires GANDI API KEY set in GANDI_LIVEDNS_KEY set as environment variable
# Requires GANDI API KEY set in GANDI_LIVEDNS_KEY set as environment variable
...
...
dnsapi/dns_kinghost.sh
View file @
43b1a4bf
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
############################################################
############################################################
# KingHost API support #
# KingHost API support #
# http://api.kinghost.net/doc/ #
# http
s
://api.kinghost.net/doc/ #
# #
# #
# Author: Felipe Keller Braz <felipebraz@kinghost.com.br> #
# Author: Felipe Keller Braz <felipebraz@kinghost.com.br> #
# Report Bugs here: https://github.com/kinghost/acme.sh #
# Report Bugs here: https://github.com/kinghost/acme.sh #
...
...
dnsapi/dns_leaseweb.sh
View file @
43b1a4bf
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#Author: Rolph Haspers <r.haspers@global.leaseweb.com>
#Author: Rolph Haspers <r.haspers@global.leaseweb.com>
#Utilize leaseweb.com API to finish dns-01 verifications.
#Utilize leaseweb.com API to finish dns-01 verifications.
#Requires a Leaseweb API Key (export LSW_Key="Your Key")
#Requires a Leaseweb API Key (export LSW_Key="Your Key")
#See http://developer.leaseweb.com for more information.
#See http
s
://developer.leaseweb.com for more information.
######## Public functions #####################
######## Public functions #####################
LSW_API
=
"https://api.leaseweb.com/hosting/v2/domains/"
LSW_API
=
"https://api.leaseweb.com/hosting/v2/domains/"
...
...
dnsapi/dns_namecheap.sh
View file @
43b1a4bf
...
@@ -82,7 +82,7 @@ _get_root() {
...
@@ -82,7 +82,7 @@ _get_root() {
_debug
"Failed domain lookup via domains.getList api call. Trying domain lookup via domains.dns.getHosts api."
_debug
"Failed domain lookup via domains.getList api call. Trying domain lookup via domains.dns.getHosts api."
# The above "getList" api will only return hosts *owned* by the calling user. However, if the calling
# The above "getList" api will only return hosts *owned* by the calling user. However, if the calling
# user is not the owner, but still has administrative rights, we must query the getHosts api directly.
# user is not the owner, but still has administrative rights, we must query the getHosts api directly.
# See this comment and the official namecheap response: http://disq.us/p/1q6v9x9
# See this comment and the official namecheap response: http
s
://disq.us/p/1q6v9x9
if
!
_get_root_by_getHosts
"
$fulldomain
"
;
then
if
!
_get_root_by_getHosts
"
$fulldomain
"
;
then
return
1
return
1
fi
fi
...
...
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