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

change to use the actual custom certificate file when it exists #86

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ private File findLetsEncryptCertDir() {

public ServerCertInfo get() throws IOException, InterruptedException {
if (m_userCertFile.isFile()) {
Tracer.info("Reusing user-defined server certificate in " + m_defaultCertFile.getAbsolutePath());
return new ServerCertJKS(m_defaultCertFile, StoreDefaults.getStorePass(), StoreDefaults.getKeyPass(),
Tracer.info("Reusing user-defined server certificate in " + m_userCertFile.getAbsolutePath());
return new ServerCertJKS(m_userCertFile, StoreDefaults.getStorePass(), StoreDefaults.getKeyPass(),
StoreDefaults.getAlias());
} else if (null != m_letsEncrypt) {
Tracer.info("Using LetsEncrypt certificate file " + m_letsEncrypt.getKeyStoreFile().getAbsolutePath());
Expand Down