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
331c4bb6
Commit
331c4bb6
authored
Jun 17, 2016
by
neil
Browse files
minor, add more debug info
parent
63a195e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
331c4bb6
...
...
@@ -907,7 +907,12 @@ _starttlsserver() {
fi
#start openssl
(
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
)
&
if
[
"
$DEBUG
"
]
&&
[
"
$DEBUG
"
-ge
"2"
]
(
printf
"HTTP/1.1 200 OK
\r\n\r\n
$content
"
| openssl s_server
-cert
"
$TLS_CERT
"
-key
"
$TLS_KEY
"
-accept
$port
)
&
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
)
&
fi
serverproc
=
"
$!
"
sleep
2
_debug serverproc
$serverproc
...
...
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