Need to setup SSL

I need to setup SSL in my project, Using play 2.5.x
I am configuring keystore as per the documentation,
also adding configuration in application.conf.

still not able to setup ssl, tired after trying a lot.

is it compulsory to setup TrustManger for SSL??

isn’t is enough that i added all certificate to the keystore ??

if I am not configuring the trust store then it refers this - /usr/lib/jvm/java-8-oracle/jre/lib/security/cacerts

I am doing server side, as far as i know keystore is enough to set up SSL.

trustmanager is for client side authentication.

I use Java but after added the certificate to the keystore file I started the application as:

 bin/myapp -Dconfig.file=conf/application.conf -Dhttp.port=8086 -Dhttps.port=8087 -Dhttps.keyStore=keystore.jks -Dhttps.keyStorePassword=importkey

I don’t know if this can help you.

1 Like

Thanks a lot morellik for your kind reply,
Yes I have tried this, and this works.
but in console I found some errors related with certificate.
It says certificate is invalid.
now resolving that.