Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d73438a3
Commit
d73438a3
authored
Sep 01, 2020
by
neil
Browse files
update comments
parent
41754c92
Changes
2
Show whitespace changes
Inline
Side-by-side
.github/workflows/LetsEncrypt.yml
View file @
d73438a3
...
@@ -72,6 +72,9 @@ jobs:
...
@@ -72,6 +72,9 @@ jobs:
#The 80 port is used by Windows server, we have to use a custom port, ngrok will also use this port.
#The 80 port is used by Windows server, we have to use a custom port, ngrok will also use this port.
Le_HTTPPort
:
8888
Le_HTTPPort
:
8888
steps
:
steps
:
-
name
:
Set git to use LF
run
:
|
git config --global core.autocrlf false
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
Install cygwin base packages with chocolatey
-
name
:
Install cygwin base packages with chocolatey
run
:
|
run
:
|
...
@@ -87,7 +90,7 @@ jobs:
...
@@ -87,7 +90,7 @@ jobs:
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin'
-
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/
&& sed -i 's/\r//g' acmetest/acme.sh/acme.sh
run
:
cd .. && git clone 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
...
...
acme.sh
View file @
d73438a3
...
@@ -4978,7 +4978,7 @@ $_authorizations_map"
...
@@ -4978,7 +4978,7 @@ $_authorizations_map"
fi
fi
}
}
#in_out_cert out_fullchain
out
out_ca
#in_out_cert out_fullchain
out_ca
_split_cert_chain
()
{
_split_cert_chain
()
{
_certf
=
"
$1
"
_certf
=
"
$1
"
_fullchainf
=
"
$2
"
_fullchainf
=
"
$2
"
...
...
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