ssl

Capturing HTTPS traffic in the clear?

I've got a local application (which I didn't write, and can't change) that talks to a remote web service. It uses HTTPS, and I'd like to see what's in the traffic. Is there any way I can do this? I'd prefer a Windows system, but I'm happy to set up a proxy on Linux if this makes things easier. What I'm considering: Redirecting the we...

ignoring Https SSL exception on iphone

I have a self signed SSL certificate serving out my test enviroment. I would like to do some testing connecting to the service from my iphone however, the SSL exception is causing an error. Is there a way to ignore the SSL exception on the iPhone? Edit: I should have added a bit more detail, the answers below will work hoever if i ca...

SSL authentication by comparing certificate fingerprint?

Question for all the SSL experts out there: We have an embedded device with a little web server on it, and we can install our own SSL self-signed certificates on it. The client is written in .NET (but that doesn't matter so much). How can I authenticate the device in .NET? Is it enough to compare the fingerprint of the certificate aga...

Is there a way to determine what the SSL port is for a site from an ASP.NET application?

I have an ASP.NET application. I want to redirect to the secure port for the site, but the site may not necessarily be using the default of 443. Is there some environment variable or API call I can make to determine the currently configured SSL port for a site? Thanks! ...

Zend Mail Gmail SMTP

Hi I'm trying to send some emails via gmail from the Zend_Mail module. This is my code: $config = array( 'ssl' => 'tls', 'port' => 587, 'auth' => 'login', 'username' => '[email protected]', 'password' => 'password' ); $smtpConnection = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config); Error: Warning: ...

How do I 'get' a SSLContextRef from CFNetworks?

I am attempting to look at the SSLContext in a CFReadStream. secureTransport has lots of useful methods for examining a SSLContextRef like SSLGetEnabledCiphers, but I don't have a good way to get a SSLContextRef from CFReadStream. Is there some sort of getter method for SSLContextRef in CFNetworks? ...

Adding SSL support to existing TCP & UDP code?

Here's my question. Right now I have a Linux server application (written using C++ - gcc) that communicates with a Windows C++ client application (Visual Studio 9, Qt 4.5.) What is the very easiest way to add SSL support to both sides in order to secure the communication, without completely gutting the existing protocol? It's a VOIP...

HTTPS authentication over WiFi using HttpClient 4

I have Android pet-project DroidIn which utilizes HttpClient 4 (built into Android) to do some form based authentication. I started noticing that people who are using WiFi are reporting connection problems. It also doesn't help that site I'm accessing has self-assigned certificate. Well - the question is (I'm quite vague on WiFi details)...

Correctly switching between HTTP and HTTPS using .htaccess

We've got a shopping site which we're hosting on a shared host (Mediatemple Gridserver). Some parts of the site need to use HTTPS (checkout etc) but the rest should be using HTTP. Does anyone know how we can always force the correct use of HTTP/HTTPS for particular URLs? We've had it working in various states but we can't get a request ...

how to generate a self signed and configure an SSL?

I am very new to SSL,wants to install SSL for my application on GLASSFISH,though tried to find some tutorials which can teach me from basic,but was unable to find any elaborative solution . 1)Like how to generate a self signed Certificate for the SSL? 2)How to configure this certificate with my application? 3)how to Configure only LOGIN ...

How to create a SSL connection in PHP with SO_KEEPALIVE?

I have some simple PHP code that creates a SSL connection $streamContext = stream_context_create(); stream_context_set_option($streamContext, 'ssl', 'local_cert', $this->sslPem); stream_context_set_option($streamContext, 'ssl', 'passphrase', $this->passPhrase); $this->apnsConnection = stream_socket_client('ssl://'.$this->apnsHost.':'.$...

SSL - pointing all assets to https

Hi, What is the best way to make sure all assets(images etc.) are https://.... on all secure pages so that the ssl cert shows in browser address bar? ...

How do I configure ASP.Net OutputCache to vary by http vs https?

Here is the scenario, a user opens up non-secure page from our WebApp, let's call it PageA, in their browser and then clicks a link in there that takes them to a secure instance of PageB. Once in PageB the user can subsequently click a link that takes them back to a secure instance of PageA (which they already viewed and is in OutputCach...

Comodo certificate apparently recognized in IE but not FF/Seamonkey/...

I am trying to get a Comodo certificate recognized on a webserver written in Python using ssl. When I visit in IE8, the certificate is recognized without difficulty. But when I visit with Firefox 3.0.11/Ubuntu, it says the CA is invalid. Should Firefox recognize Comodo certificates without giving an invalid CA warning? What can I do to ...

C# SSL Basic Access Authentication

I want to request reports from a third party and they require "Basic Access Authentication" via POST: Your client application must use Basic Access Authentication to send the user name and password. Can someone point me in the right direction or recommend a tutorial on how to do this with C#? Edit: I did see this post but there ar...

SSL Sharing on IIS

Im trying to share a wildcard SSL cert across many applications. The way it would work is users would have websites with thier domain, but when they need a secure connection they would be redirected to a designated SSL site like https://client422.domain.com Can session data be shared across the domains even if I place both domains on a...

Downloading mail from hotmail

I want to script the download of messages from hotmail. Both Gmail and Hotmail allow access by secure POP on port 995. My script works fine with Gmail ... but after I send the line to Hotmail USER [email protected] I don't get a response back. I installed Windows Live Mail and that is clearly able to download my hotmail mess...

"Too many open files" on Tomcat Keystore

Hello, I've recently started getting an error on our Tomcat servers : "Too Many Open Files" and the error goes on to reference the keystore file used for the server's SSL connector. Does anybody have any idea where this could be coming from ? Our server receives a considerable number of connections, but if I push the maximum acceptable...

Python accessing web service protected by PKI/SSL

I need to use Python to access data from a RESTful web service that requires certificate-based client authentication (PKI) over SSL/HTTPS. What is the recommended way of doing this? ...

MySQL SSL connection through ADODB library

I have a MySQL database hosted on a remote server and it is enabled to accept only SSL connection. When I connect to this database using Java JDBC with SSL options, it works fine. There is a special jdbc string that I use for JDBC connection as below "jdbc:mysql://:/?verifyServerCertificate=false&useSSL=true&requireSSL=true" I need to u...