https

Calling https process from ASP Net

I have an ASP NET web server application that calls another process running on the same box that creates a pdf file and returns it. The second process requires a secure connection via SSL. The second process has issued my ASP NET application with a digital certificate but I still cannot authenticate, getting a 403 error. The code is a...

Disable https on localhost

I need to automatically redirect any https:// to http:// on my localhost environment. I tried to use a .htaccess file which I placed on my htdocs/ with the following code: RewriteEngine On RewriteCond %{HTTPS} on RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] For some reason this is not working. Any advice? ...

http or https authentication for Intranet Web applications

I’m developing an Intranet application and I want to make a secure authentication. One approach can be use “https”. The problem is that the server doesn’t have a trusted certificate, therefore is a bit annoying for the client because the browser doesn’t trust in the certificate and complaints with a scary message. Using http will com...

HTTPS hostname wrong: should be <sub.domain.com>. What causes this?

I am getting this 'HTTPS hostname wrong:' error when trying to connect to a server using https. My url looks something like this https://sub.domain.com/tamnode/webapps/app/servlet. I connect using the following code // Create a URLConnection object for a URL URL url = new URL(requestedURL); HttpURLConnection.setFollowRedirects(fal...

difference between using http and https in session management of jsp

When I am using HTTP protocol, there is no issue with sessions. But when I am using HTTPS protocol, I am facing problem in JSP. When it is moving from one tab to another tab, session is automatically getting expired. How can I resolve this issue? ...

C / C++ Library for HTTPS Client with Basic Authentication

Do you recommend any good library or examples online for implementing an HTTPS client that can connect to a website using basic authentication? This is meant to run in linux servers. Any pointers help. Update: Question about the unanimous libcurl - does it come bundled by default in major distributions like Debian, Ubuntu, Gentoo, Slac...

can't submit a form via POST with PHP over SSL

I can't seem to submit a form via POST with PHP over SSL. Here's a quick look at my code, can anyone tell me what's wrong? My .htaccess file RewriteEngine On RewriteBase /test RewriteCond %{HTTP_HOST} !^www\.helloworld\.org$ [NC] RewriteRule ^(.*)$ http://www.helloworld.org/test/$1 [L,R=301] # If i comment out these 3 lines, everyt...

Unexpected EOF in HTTPS request

Hi everybody, I have the following function that sends xml using Https request public WebResponse SendXmlPost(string url, string xml) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.KeepAlive = false; request.ProtocolVersion = HttpVersion.Version11; request.Method = "POST"; if (this.UseBa...

Restful WCF (webhttpbinding) in IIS breaks after adding https binding

I have a WCF service hosted in IIS (7.0) which implements multiple service contracts and therefore defines multiple endpoints (one for each contract). It has been working fine but I have just added an https binding to the IIS web application and I am now getting an activation exception specifying that the service implements multiple cont...

htaccess (https to http)

Hi, this is yet another .htaccess question. And I already did my literature review. Would appreciate any help. Requirements: Force HTTPS only for a few URLs. Browser shouldn't say partially encrypted page for SSL pages. I am using CodeIgnitor and tweaked the *base_url* in config.php to: $config['base_url'] = (isset($_SERVER['HTTPS...

Android https/ssl/tls

SSLContext context = SSLContext.getInstance("SSL"); The above line results in the exception: java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found I'm using Android 2.0 SDK and when specifying TLS, it is accepted. How come I get the exception? Doesn't Android support SSL? ...

Performance Implications when sending large files via HTTPS

When sending larger files (e.g. 10-15 MB) over HTTPS (as opposed to HTTP) what are the performance implications (if any)? (the files are CSVs) Thanks. ...

HttpClient and SSL

I know, there are many different questions and so many answers about this problem... But I can't understand... I have: ubuntu-9.10-desktop-amd64 + NetBeans6.7.1 installed "as is" from off. rep. I need connecting to some site over the HTTPS. For this I use Apache's HttpClient. From tutorial I read: "Once you have JSSE correctly installed,...

How can urllib2 / httplib talk HTTP 1.1 for HTTPS connections via a Squid proxy ?

When I use urllib2 to make a HTTP 1.1 connection via a squid proxy, squid makes a new ongoing connection in HTTP 1.0. How can I persuade Squid to talk 1.1 to the destination server? ...

Why an embeded swf won't play on a page under https?

I have one swf banner which I want it into .aspx page. The website runs ok under http and the banner plays correctly. After we set the website to run under https, the banner stopped to load. I've tried to load this banner via http link from inside https running page. Nothing happened as well. Example: Page: https://www.myswebsite.com.b...

How do we send data via GET method?

I am creating a HTTPS connection and setting the request property as GET: _httpsConnection = (HttpsConnection) Connector.open(URL, Connector.READ_WRITE); _httpsConnection.setRequestMethod(HttpsConnection.GET); But how do I send the GET parameters? Do I set the request property like this: _httpsConnection.setRequestProperty("method", ...

How to cache SSL client certificate password in client application using libcurl

We have a (multi-os) application which communicates with a https server using libcurl and uses SSL client certification. When the client certification is password protected, the application must ask the user to input password. The application sends hundreds of different https request to the server, so we can not ask the user to input pas...

Screen scraping HTTPS using C#

How to screen scrape HTTPS using C#? ...

Can I use the flash.net.NetConnection over https

Is it possible to use the flash.net.NetConnection object to connect to my Flash remoting enabled web application over HTTPS within Tomcat or any other servlet container? I am using the SpiceFactory cinnamon project for amf remoting and have searched for examples of using HTTPS but see only the reference to a proxy type in the NetConnect...

How to create https client with synapse ?

I need a https client used with synapse. Do you have any demo about it? Thank a lot. ...