I'm trying to understand what's going on in this code.
KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType());
FileInputStream instream = new FileInputStream(new File("my.keystore"));
try {
trustStore.load(instream, "nopassword".toCharArray());
} finally {
instream.close();
}
SSLSocketFactory socketFact...
Hi,
I need to connect to a provider's web service with a Windows Form application. He gives me a certificate to access it but I have a security problem.
I have done these following steps :
Add certificate to personal store (on IE & Firefox)
Generate a proxy with the remote wsdl (no problem)
Use this code to call a method :
`using (...
Hello everyone,
When accessing my site, the SSL session is successful while the page loads.
A few seconds after the page loaded FireFox shows that SSL is no longer available.
I am guessing its some script (all I have is Google Analytics and Facebook).
How can I see what caused FireFox (or IE/Chrome) to drop the SSL and why ?
...
Hello,
I am developing a web application that is authenticated using CAS (A single-sign-on solution: http://www.ja-sig.org/wiki/display/CAS/Home).
For security reasons, I need two things to work:
The communication between CAS and my application needs to be secure
My application needs to accept the certification coming from CAS, so tha...
For what reasons do sites provide logic to switch between http/https protocols for JavaScript include files? Why not always use https?
...
If I was setting up a server, and had the SSL certificate(s), why wouldn't I use HTTPS for the entire site instead of just for purchases/logins? I would think it would make more sense just to encrypt the entire site, and protect the user entirely. It would prevent problems such as deciding what has to be secured because everything would ...
I am trying to convert from some CURL code to FLEX/ActionScript.
Since I am 100% ignorant about CURL and 50% ignorant about Flex and 90% ignorant on HTTP in general...
I'm having some significant difficulty.
The following CURL code is from http://code.google.com/p/ga-api-http-samples/source/browse/trunk/src/v2/accountFeed.sh
I have eve...
All I need to to do is to connect via https. Must I use commons client for this?
...
I've been testing some that works with a bunch of https servers with different keys, some of which are invalid and all of them are not in the local key store for my JVM. I am really only testing things out, so I don't care about the security at this stage. Is there a good way to make POST calls to the server and tell Java not to worry ab...
I find all these work-arounds for NSUrlConnection's which use a closed API to access a non-trusted SSL certificate. The other options is to install the certificate first by using the Safari/Mail app..
I'd like to know what root certificates are installed, so I can get one from the trusted CA, the way you're supposed to do it..
Anyone ...
I'm evaluating the front end performance of a secure (SSL) web app here at work and I'm wondering if it's possible to compress text files (html/css/javascript) over SSL. I've done some googling around but haven't found anything specifically related to SSL. If it's possible, is it even worth the extra CPU cycles since responses are also...
I'd like to ensure that certain URLs on my site are always accessed via HTTPS while all other URLs are accessed via HTTP.
I can get either case working in my .htaccess file, however if I enable both, then I get infinite redirects.
My .htaccess file is:
<IfModule mod_expires.c>
# turn off the module for this directory
ExpiresActive off...
Let's say a security tester uses a proxy, say Fiddler, and records an HTTPS request using the administrator's credentials-- on replay of the entire request (including session and auth cookies) the security tester is able to succesfully (re)record transactions. The claim is that this is a sign of a CSRF vulnerability.
What would a mal...
Hello!
Can you share your experience of working with network shares like Iomega StorCenter or iConnect over http(s)?
Especially:
Login/logout workflow
Browse functionality
Reading/writing objects
Reading/writing object properties
Your recommendations
Thank you!
...
Hi
I need to establish a HTTPS 2-way SSL connection from my iPhone application to the customer's server.
However I don't see any secure way to deliver the client side certificates to the application (it's an e-banking app, so security is really an issue).
From what I have found so far the only way that the app would be able to access th...
I have web services built with ASP.NET and ASP.NET clients consuming them. When consuming the webservices, how would I to force the clients to use https?
I don't want to force the whole site to use https by turning on require SSL in IIS.
Can I use the IIS7 URL rewrite module to re-route http requests to https?
...
I need to tunnel the connections (mostly TCP) made by an application through Socks5, SSH or HTTPS.
So far, I've found 3 ways to do this: api hooks, winsock lsp and a driver.
I'm looking for advice on the best way to handle this, and any recommendations on SDK's that could abstract this task for me (free/open-source preferred, but com...
Hi All,
I am having trouble working out how I can get get HttpClient 4 to use SSL in the way I need.
I have X https servers that I send requests to. One requires a client side certificate while the others have trusted certificates and therefore require no client side certificate. I have no issue connecting to the server requiring the c...
I need to establish and send/read over/from an https connection (to a website of course) but through an http proxy or SOCKS proxy. A few other requirements
supports blocking (I can't use non-blocking/nio)
isn't set as an environment or some other global scope property (there are multiple threads accessing)
I was looking into HttpCore...
I'm downloading files from a HTTPS website. I've narrowed the problem down to this:
>> require 'open-uri'
>> open('https://www.gmail.com/') # just as an example
C:/Ruby/lib/ruby/1.8/net/http.rb:586:in `connect': certificate verify failed (OpenSSL::SSL::SSLError)
from C:/Ruby/lib/ruby/1.8/net/http.rb:586:in `connect'
from C:/Rub...