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

Self-signed cert causes various issues #18

Open
krokicki opened this issue Oct 1, 2021 · 1 comment
Open

Self-signed cert causes various issues #18

krokicki opened this issue Oct 1, 2021 · 1 comment
Assignees
Labels
bug Something isn't working size: 3

Comments

@krokicki
Copy link
Member

krokicki commented Oct 1, 2021

The self-signed SSL certificate causes problems for many users. Initially, it will cause a SSLHandshakeException if the cert is not manually imported into the client. Even once that is fixed, there is sometimes a different exception on the server side:

"ssl_do_handshake failed" "ssl alert number 46"

It's currently unclear how to get past this error, it seems like the server is rejecting the client's cert this time. Setting ssl_verify_client off had no effect.

@issuelabeler issuelabeler bot added the bug Something isn't working label Oct 1, 2021
@krokicki krokicki changed the title Bug: self-signed cert sometimes causes issues Self-signed cert causes various issues Oct 1, 2021
@porterbot porterbot self-assigned this Oct 4, 2021
@porterbot
Copy link
Contributor

Found the issue; the jacs-init-filesystem generates a self-signed certificate but at the time that executes it still has the old Subject CN in the cert. By regenerating the self-signed certificate with the correct Subject, I got past this issue and helped CHSL get past it too. We need to update the documentation to run the jacs-init-filesystem after we update the $HOST in the .env.config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size: 3
Projects
None yet
Development

No branches or pull requests

2 participants