PrashantJuluri / csharptest-net

Automatically exported from code.google.com/p/csharptest-net
0 stars 0 forks source link

Could not establish a trust relationship for the SSL/TLS secure channel #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is not really a bug in the code I guess, but I'd really like to get 
it fixed. This happens when trying to access our server via https, which 
is the only way to get in from 'outside'.
The server itself is jira standalone, and proxied over apache2. Both 
tomcat and apache2 servers use SSL, but with self-signed certificates. 

When accessing jira with a browser like IE8 or Firefox you get a dialog 
box in which you can choose to go to the page, I understand this might be 
hard to do in the plugin since all communication seems to go via jira soap 
services, but I'd like to know if there is a way around? Can I tell the 
service connector somehow to trust the server's certificate, or any 
certificate? Is there a log file to investigate to finf out what exactly 
goes wrong?

Original issue reported on code.google.com by deathwil...@gmail.com on 27 Nov 2009 at 8:33

GoogleCodeExporter commented 8 years ago
You need to add the certificate to your local trust.  You should only need to 
visit 
the site from IE/FireFox/Chrome/etc.  Once there you should be able to trust 
the 
certificate or export it to the file system and trust it from there.  It's 
different 
from each browser.  Usually you click on the padlock icon and click view 
certificate.  
Then, if your running as an administrator, you can trust it from there.  
Otherwise 
from the details tab export it to a file and open it as an administrator and 
add it 
to your trust list.  Usually you want to add it to Local Computer => Trusted 
Root 
Authorities.

Once completed, you should be able to open the website in any browser without 
being 
nagged by dialogs/confirmations.  Once this is working you should have no 
problem 
from the integration.

I wish I could make this easier.  If you still have problems working through 
this let 
me know and I'll try and capture the specific steps a little better.

Original comment by Grig...@gmail.com on 30 Nov 2009 at 7:33

GoogleCodeExporter commented 8 years ago
thanks for your explanation, everything works ok after importing the 
certificate 
into the 'trusted' store.

Original comment by deathwil...@gmail.com on 30 Nov 2009 at 8:23