ssl

Java: Loading SSL Keystore via a rsource.

If I have: System.setProperty("javax.net.ssl.keyStore", '/etc/certificates/fdms/WS1001237590._.1.ks'); System.setProperty("javax.net.ssl.keyStorePassword", 'DV8u4xRVDq'); System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true"); I'm able to open a secure connection without a problem. However, I'd like to have the certi...

Perl way to create sockets quickly (1000+)

I have a Perl server and when it boots up, it connects to 1000+ clients. It takes about 30-45 minutes to setup all the connections with SSL. I'm trying to decrease the start time to something more reasonable. I tried playing with threads to offload the work, but can't get it to work. Creating the socket in one thread and getting it back ...

Layered service provider(LSP) SSL handshake detection

Hi,i am interesting in detection SSL handshake with layered service proveder. I have a nonifs LSP. I dont know how it is possible but when i write the function WSPSend buffer when in browser requesting https site. I see only encrypted data(no plain text). But its clearly said in ssl handshake, that browser at first sends hallo message ...

PHP: SSL HTTP Authentication?

I have a php page in which I have the following code to validate the user using HTTP authentication, this code works fine for http:// url's but when I use the same page with https:// then it didn't ask for username and password. //authentication settings define('USERNAME', 'prashant'); define('PASSWORD', 'password'); //Validating if (!...

Client side SSL certificate for a specific web page

Can a particular web page in a web site, authonticate a web request using client side SSL certificate, while others don't? ...

Opening SSL TCP socket and sending web requests

I have a requirement to open a tcp socket and authenticate using SSLv3 or TLSv1 IP protocol using X.509 digital certificate. What does this handshake process involve exactly? I know the each message should be encrypted and signed with my private key. What else? After successful I've to send POST HTTP requests over the socket. The s...

How to enable a self-signed certificate for SSL sockets on Android?

I have a self signed server certificate (cert.pem) and need to enable it for SSL sockets in an Android application. Ideally I'd like to package the code as .jar file and not need an external certificate file (i.e. include it into the code). With this code I can accept all certificates, which is not what I want: SSLContext sc = SSLConte...

How to configure connection to a ssl service

Hi, I am using a web service that requires connection through ssl. I have the connection configured in my app.config this way: <binding name="WsDatosSociosSoap" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" allowCookies="false" bypassProxyOnLoc...

Store the client SSL certificate with out compromising security

I have stored Client SSL certificate in database as a file and its private key's password in a column (not using certifcate store) for each web service that requires certificate.The reason I prefered this that I don't have to worry about user privellege to access the certificate if the code is moved to another server (Dev/QA/Prod). As ce...

Why use SSL with auth ticket when both encrypted and integry checked?

I'm reading about how to protect Forms Authentication and have som questions. 1) When the authentication ticket is both encrypted and integrity checked, is there any reason to still use SSL? If I understand this correct, a hacker can't read the ticket's data in plaintext since it's encrypted, and modifying the data will throw an except...

NGINX Secure Subdomain

I am looking to set up a secure subdomain on my server. Here is my NGINX configuration... This works but I'm looking for htp[s]://transmission.example.com to proxy pass locally to 127.0.0.1:9091 and htp://example.com to proxy_pass to the app_server. This works, I can can go to htps://example.com and htp://example.com but I would like t...

Help with SSL Vulnerability (Mixed Content)?

Hey guys I have my own webserver that is hosting a website that I recently installed/setup a self-signed SSL cert. Securing the website seemed to go fine, but in firefox and IE I sometimes get pop up boxes that say something along the lines of "There is a mix of secure and insecure information on this page..." and in the firefox error co...

.Net FTPwebrequest having trouble sending file with ftps - firewall issue

I am trying to send a file via code using FTPWebRequest (ftps,pasv). I am getting the following error: Unable to read data from the transport connection. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to resp...

SSL Cert for Jobs Portal

When you visit your local jobs portal, do you as an employer/job seeker find it safe with SSL cert enabled when you login? I don't see most of my country portal use it, is it safe? Especially employers use for posting job ad. ...

Detecting SSL Browser support

Hello, How can you detect if the client browser has SSL support? I am not refering to the server Variables HTTPS_* . I want to be able to determine if the browser has no SSL support. P.S. I know this is possible because this company (http://www.cyscape.com) has a product that can even detect when you unselect SSL support from your bro...

MVC RequireHttps entire site

I have read the previous posts about using the RequireHttpsAttribute to secure individual controllers: http://stackoverflow.com/questions/1639707/asp-net-mvc-requirehttps-in-production-only but is there a way to apply this to the entire site? Due to my host (discountasp.net) I cannot use the "RequireSSL IIS" setting. ...

Android - Only Version 8 (2.2 froyo) - ssl handshake failure

The below code works with HTTP(API version 7 and 8) and HTTPS (API version 7). For HTTPS (API version 8) I get error "java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error" Any Idea why on version 8 alone ? The code... HttpURLConnection connection = null; BufferedReader b...

How is SSLSocket created?

In JSSE docs, it just says the sslsocket can be created by the SSLSocketFactory through a call of createSocket. But it does not describe how the ssl handshake is call, how the key material is passed in and how and which credential is chosen to authenticate the server or the client. Anybody knows the detailed procedure of the creation of...

Apache SSL Configuration Error (SSL Connection Error)

I am trying to configure Apache on my server to work with ssl, but everytime I visit my site, I get the following message in my browser: SSL connection error. Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 ...

secure web server asp.net

I have a graphical user interface for my company product. I want to secure the data being sent back and forth between client and server. Is SSL one of the options? if yes, Please can some1 tell me the steps on how to implement it in my application code. Do i need to buy the certificate or can i make it.. which is the best choice? Any...