Tomas Posted April 15, 2011 Posted April 15, 2011 I'm trying to connect to a e-mail server with a self signed certificat. I know this is not the best from a security point of view. THe question is: Is this possible? All I get is an error "sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
Smef Posted April 15, 2011 Posted April 15, 2011 It's technically possible, but difficult to do and you have to do it on each machine you want to use this on. You will need to add your certificate to the java keystore. There are instructions for how to do this at various sites online, though I would definitely recommend using a regular SSL certificate instead, which will be a lot easier to do.
Tomas Posted April 15, 2011 Author Posted April 15, 2011 I agree that it is better to use the correct certificate. Unfortunately you can not always control it .... Is it possible to build it as a option in the plugin to accept self-signed certificates or is it technical impossible? If possible, I like it in a future version. Thanks for fast reply and a relay nice plugin.
Smef Posted April 15, 2011 Posted April 15, 2011 Unfortunately this is not something we can build into the plugin, at least not with any sort of easy interface that would be much easier than doing it manually. This is something that you will need to modify on each client's java deployment.
Tomas Posted April 18, 2011 Author Posted April 18, 2011 Ok thanks. Then I know what to do. Get me a real SSL certificate.
Recommended Posts
This topic is 5025 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now