ssl

iPhone Push Notification Unable to Connect to the SSL Server

I followed the instructions at: How To Build An Apple Push Notification Provider Server When I run the php script on my MacOSX or on Windows using Parallel desktop, the script works. But as soon as I run it on my hosting I get the message: Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gatew...

Push notifications (iPhone) give "111 Connection refused"

When I try to send Push Notifications I get this error: "Connection refused", but I don't know why... I've uploaded my apns-dev.pem in the same directory as well in the root-directory but that won't work either. <?php $payload['aps'] = array('alert' => 'This is the alert text', 'badge' => 1, 'sound' => 'default'); $payload = json_encod...

How can I testrun my SSL-Required ASP.NET MVC Website in Visual Studio?

My ASP.NET MVC application enforces the use of SSL (nothing happens at all over plain HTTP) - session cookies are required to be SSL & HttpOnly; my authorization module checks that no communication goes in or out over anything except HTTPS. The problem: How do I debug/step-through in Visual Studio now? I still want to be able to do F5 q...

SSL Problem: Client Side Caching (JS/CSS)

It appears that SSL causes a browser (at least FF 3.0.14) to re-request unchanged JavaScript and CSS every time, and doesn't cache either resource at all. That's a significant bandwidth increase in my case (about 80 KB instead of ~3 KB per request). How can I enforce/promote caching of my JS/CSS files the regular way on the client brows...

Tomcat behind Apache: Using SSL with j_security_check

Hi guys, I have a little problem with using SSL on a Tomcat that is behind Apache. I have used Google all morning to try to find a good solution, but nothing so far. As a part of my SSL VirtualHost configuration I have <Location /MyApp/> ProxyPass http://localhost:8080/MyApp/ </Location> This works fine for most cases, but j_securi...

IE 7 and 8 SSL download from simple HTML page not working, tomcat server

Hello, I have a simple HTML file which has one link to a file kept for download. The site uses SSL (self signed cert). When I click on the file to be downloaded in FF or Chrome, it works fine and saves the file on to disk. Here is the code- <html><body> download from <a href="hello.tar.gz">here</a></body></html> When I open the same...

iPhone: HTTPS client cert authentication

I'm fighting with a client certificate authentication. When a server needs a credential (a certificate in this case), this method is invoked from NSURLConnection delegate: (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge I want to load a certificate from a file...

Windows Mobile Sockets SSL Communication library

I have a Win32 application that uses boost::asio and openssl library but it seems that they are not supported under WM, am I correct? Can anyone suggest WM API/library for WM Sockets, I need to connect to a server through SSL connection. Is the only option for me WinSocks + OpenSSL? ...

downloading applet as file

Hello, I would like to know if there is a way for downloading an applet in tomcat under ssl but as if it was a downloaded file, without requiring the wanted certificate in the ssl and asking for the password in it. Thanks in advance. ...

SSL with multiple domains and one application in JBoss Seam

Hi, I have 2 domains name, say, www.domain1.com and www.domain2.com. I would like setup pages.xml so that make a redirect from first domain to second domain, through a web link, and change scheme from http:// to https:// at the same time, without losing session context. Is this possible? How can I do it? Thanks you very much. David ...

IE7 not Caching CSS Image over SSL

Hello, I'm using the WebDevHelper toolbar for Internet Explorer to troubleshoot HTTP requests/roundtrips on my SSL site and noticed that IE re-downloads my CSS :hover images every time they are triggered. This causes a huge amount of roundtrips. How can I prevent this from happening? Edit: All static content is served with cache-contr...

Retrieve SSL Certificate with Zend Http Request and Response

I'm trying to connect to a third party API and I'm using the Zend 1.7.0 framework to access it. To authenticate, I have to first check an SSL certificate returned from a URL. This is what I'm doing in my code. $client = new Zend_Http_Client($url); $response = $client->request('GET'); The response is always OK, and when I navigate to...

WCF Metadata on separate port and not SSL

Hi all, Pretty new to complex WCF configs and have looked around, but couldn't clearly answer this. I'm looking for a yes this is possible and ideally a sample or no, this is not possible. Question: Can you separate out the Metadata (WSDL) from a secure transport (SSL) service and make it plain old HTTP? We have a WCF service that is...

404 error for mod_rewrite using SSL and MAMP

I am building an app in Zend Framework at the moment and testing it all locally. I have Mamp Pro as my web server and I have a self-signed SSL which all seems to work. My problem comes when I try to do mod_rewrite - I just get 404 pages. The way I have things set up (which may not be the best way...) In Mamp I have 2 virtualhosts set...

IMAP + TLS/SSL with synapse ?

i'm currently trying to add to a software the capability to list unread emails in the user's inbox using imap. After having no success at all using indy10, I discovered synapse which seemed better for what I needed, but I can't find a way to get it working. My problem is with the login (thus I think with the ssl configuration), I can't ...

How to connect to a Weblogic JMS queue using t3s?

I want the last of these lines in a standalone application to pass with no exceptions thrown: Properties props = new Properties(); props.setProperty("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory"); props.setProperty("java.naming.provider.url", "t3s://localho...

correct CA not accepted by weblogic 8.1

I have a very strange problemen when connecting to an https url: [Security:090548]The certificate chain received from services.rdc.nl - 217.115.224.68 contained a V3 CA certificate which was missing the basic constraints extension There is almost no information availible about this error code. When testing the url with OpenSSL, all c...

Why does wcf web service hosted in iis over ssl. result in "403 forbidden"? Jquery $.post sends OPTIONS verb?

I have a WCF Webservice hosted in IIS. It uses a webHttpBinding. There are WebInvoke attributes on the methods so that they can be access REST style. I can successfully use them like so: http://mydomain.com/MyService.svc/some/rest/style/thing and POST to that the arguments to the web service. Now I want to change this to HTTPS over a...

Extending SSL services to subdomain

Dear Experts, I am encountered with a special requirement. I really dont know weather this is possible or not. But any suggestions or alternative solutions are greatly appreciated. I have a main domain say www.example.com written in asp.net with a collection of static pages with no much functionality in it and have a regular SSL on it. E...

mysql_connect() works fine on localhost but not when accessing seperate ip...

Howdy everyone! I'm working with my University's Systems Administrators to get a LAMP stack setup for me. I'll need to access this server from several websites that I'm working on and I'm having some issues. So to keep thing's clear: LAMP Server URL = https://mysqlserver.edu School URL = https://schoolsite.edu When I run mysql_conn...