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

Keystore with multiple certificates #592

Closed
rdc-Green opened this issue May 23, 2021 · 1 comment
Closed

Keystore with multiple certificates #592

rdc-Green opened this issue May 23, 2021 · 1 comment
Labels

Comments

@rdc-Green
Copy link

We are trying to implement Cloudflare with Virtualmin on Ubuntu 20.04 using steve 3.4.4. We have successfully set it up with http, but we would like to enable wss, which means having https set as true in the main.configuration file (we had this setup working successfully in our old server with webmin (not virtualmin). If we do this we get the following error when restarting steve:

[ERROR] 2021-05-20 22:37:14,884 de.rwth.idsg.steve.SteveProdStarter - Exception happened
java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.SslContextFactory$Server or org.eclipse.jetty.util.s>

We have the couldflare certs saved in home/user/CloudflareCertificates/

We have switched off SSL in Virtualmin

@goekay goekay added the bug label May 23, 2021
@goekay
Copy link
Member

goekay commented May 23, 2021

thanks for the report. it looks like the usage of SslContextFactory is deprecated in newer versions of jetty in favour of SslContextFactory$Server.

other sources that report the same:

will migrate to the new class ASAP.

@goekay goekay closed this as completed in 7afda53 May 23, 2021
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