mirror of https://github.com/apache/cloudstack.git
client: explicitly define SslContextFactory::Server for https (#4288)
Fixes #4199 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
9c7c22eb84
commit
0501575efa
|
|
@ -220,7 +220,7 @@ public class ServerDaemon implements Daemon {
|
|||
// Configure SSL
|
||||
if (httpsEnable && !Strings.isNullOrEmpty(keystoreFile) && new File(keystoreFile).exists()) {
|
||||
// SSL Context
|
||||
final SslContextFactory sslContextFactory = new SslContextFactory();
|
||||
final SslContextFactory sslContextFactory = new SslContextFactory.Server();
|
||||
|
||||
// Define keystore path and passwords
|
||||
sslContextFactory.setKeyStorePath(keystoreFile);
|
||||
|
|
|
|||
4
pom.xml
4
pom.xml
|
|
@ -144,8 +144,8 @@
|
|||
<cs.jaxb.version>2.3.0</cs.jaxb.version>
|
||||
<cs.jaxws.version>2.3.2-1</cs.jaxws.version>
|
||||
<cs.jersey-bundle.version>1.19.4</cs.jersey-bundle.version>
|
||||
<cs.jetty.version>9.4.26.v20200117</cs.jetty.version>
|
||||
<cs.jetty-maven-plugin.version>9.4.26.v20200117</cs.jetty-maven-plugin.version>
|
||||
<cs.jetty.version>9.4.27.v20200227</cs.jetty.version>
|
||||
<cs.jetty-maven-plugin.version>9.4.27.v20200227</cs.jetty-maven-plugin.version>
|
||||
<cs.jna.version>4.0.0</cs.jna.version>
|
||||
<cs.joda-time.version>2.10.5</cs.joda-time.version>
|
||||
<cs.jpa.version>2.2.1</cs.jpa.version>
|
||||
|
|
|
|||
Loading…
Reference in New Issue