Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl without client authentification #67

Closed
w9n opened this issue Aug 9, 2017 · 2 comments
Closed

ssl without client authentification #67

w9n opened this issue Aug 9, 2017 · 2 comments
Labels

Comments

@w9n
Copy link

w9n commented Aug 9, 2017

removing the --ssl-ca option as mentioned in the documentation results in

root@e230a8b71c80:/# ttyd  --ssl --ssl-cert cert.pem --ssl-key key.pem bash
[1502286096:2844] NOTICE: ttyd 1.3.3 (libwebsockets 1.7.1)
[1502286096:2844] NOTICE: tty configuration:
[1502286096:2844] NOTICE:   start command: bash
[1502286096:2844] NOTICE:   reconnect timeout: 10s
[1502286096:2844] NOTICE:   close signal: SIGHUP (1)
[1502286096:2844] NOTICE: Initial logging level 7
[1502286096:2844] NOTICE: Libwebsockets version: 1.7.1 unknown-build-hash
[1502286096:2844] NOTICE: IPV6 not compiled in
[1502286096:2844] NOTICE: libev support compiled in but disabled
[1502286096:2844] NOTICE:  Threads: 1 each 1048576 fds
[1502286096:2874] NOTICE:  mem: platform fd map: 8388608 bytes
[1502286096:2875] NOTICE:  mem: per-conn:          808 bytes + protocol rx buf
[1502286096:2875] NOTICE:  canonical_hostname = e230a8b71c80
[1502286096:2875] NOTICE:  Compiled with OpenSSL support
[1502286096:2875] NOTICE:  SSL ciphers: 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4:!HMAC_SHA1:!SHA1:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES128-SHA256:!AES128-GCM-SHA256[1502286096:2875] NOTICE:  Using SSL mode
Segmentation fault (core dumped)
@tsl0922
Copy link
Owner

tsl0922 commented Aug 10, 2017

How do you generate the server certificate? Does the instructions on the README works for you?

@tsl0922 tsl0922 added the bug label Aug 12, 2017
@tsl0922
Copy link
Owner

tsl0922 commented Sep 6, 2017

Closing in favor of #60.

@tsl0922 tsl0922 closed this as completed Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants