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
423966a5
Commit
423966a5
authored
Jun 17, 2016
by
neil
Browse files
minor, add more debug info
parent
fbad6a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
423966a5
...
@@ -908,7 +908,7 @@ _starttlsserver() {
...
@@ -908,7 +908,7 @@ _starttlsserver() {
#start openssl
#start openssl
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-ge
"2"
]
;
then
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-ge
"2"
]
;
then
(
printf
"HTTP/1.1 200 OK
\r\n\r\n
$content
"
| openssl s_server
-cert
"
$TLS_CERT
"
-key
"
$TLS_KEY
"
-accept
$port
)
&
(
printf
"HTTP/1.1 200 OK
\r\n\r\n
$content
"
| openssl s_server
-cert
"
$TLS_CERT
"
-key
"
$TLS_KEY
"
-accept
$port
-tlsextdebug
)
&
else
else
(
printf
"HTTP/1.1 200 OK
\r\n\r\n
$content
"
| openssl s_server
-cert
"
$TLS_CERT
"
-key
"
$TLS_KEY
"
-accept
$port
>
/dev/null 2>&1
)
&
(
printf
"HTTP/1.1 200 OK
\r\n\r\n
$content
"
| openssl s_server
-cert
"
$TLS_CERT
"
-key
"
$TLS_KEY
"
-accept
$port
>
/dev/null 2>&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