httpServerOptions
.setSsl(true)
.setPemKeyCertOptions(new PemKeyCertOptions().setKeyValue(myKeyStoreAsABuffer).setCertValue(myTrustStoreAsABuffer))
Another way of providing server certificate authority using a list .pem
files.
NetServerOptions options = new NetServerOptions().
setSsl(true).
setClientAuth(ClientAuth.REQUIRED).
setPemTrustOptions(
new PemTrustOptions().
addCertPath("/path/to/your/server-ca.pem")
);
NetServer server = vertx.createNetServer(options);
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/bd9dd6e6-e225-42fc-b397-d420a852d602%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
httpServerOptions.setSsl(true);
httpServerOptions.setPemTrustOptions(new PemTrustOptions().addCertValue(intermediateAsABuffer));
httpServerOptions.setPemKeyCertOptions(new PemKeyCertOptions().setKeyValue(myKeyStoreAsABuffer).setCertValue(myTrustStoreAsABuffer))
Buffer jksBuffer = vertx.fileSystem().readFileBlocking("cert/mydomain.jks");
JksOptions jksOptions = new JksOptions().setValue(jksBuffer).setPassword(keystorepassword);
httpServerOptions.setKeyStoreOptions(jksOptions);
On 18 Nov 2015, at 23:27, mathias <roleba...@gmail.com> wrote:
Does the order of -imports to the JKS matter?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/1dd4fc85-391f-4d74-9906-d3e1d01fd758%40googlegroups.com.