I
Ian Pilcher
I am working on a program which needs to make an SSL connection to an
internal server. The server's certificate is signed by our internal
certificate authority (CA), which uses a self-signed root certificate.
All of the example I can find involve using the keytool command to make
the CA certificate generally trusted by the system. I would much prefer
to simply embed the CA certificate in the application (as a String?) and
somehow create an SSL connection which trusts only this CA certificate.
Can someone provide some pointers on how to do this?
Thanks!
internal server. The server's certificate is signed by our internal
certificate authority (CA), which uses a self-signed root certificate.
All of the example I can find involve using the keytool command to make
the CA certificate generally trusted by the system. I would much prefer
to simply embed the CA certificate in the application (as a String?) and
somehow create an SSL connection which trusts only this CA certificate.
Can someone provide some pointers on how to do this?
Thanks!