Hey guys...ive got errors in my codes and i cant find a way to solve it. I already did gave the best yet it still doest work. :( Maybe this is just so easy for you. The error:Exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: ...
Do SSLSocket objects support zlib compression? Is there a way to specify the zlib compression method in the TLS handshake sent by my client to a remote server?
Does JSSE support verification of certificate revocation ?Thanks
Hello, I am trying without success to make a TLS connection to an OpenLdap directory. It works from ldapsearch but not with java code. Here is what I have done : -I added the authority certificate (cacert.pem) in our keystore file (keystore.jks)keytool -import -trustcacerts -keystore ...
Health! We have an application that calls a web service using JAX-RPC. We also use a certificate for client-authentication. Furthermore we have another application on the same JVM that also does https connections with JAX-RPC. Depending on which starts first, the application crashes with the ...
I am having trouble adding an existing certificate into a Keystore using the keytool. The certificate has been signed by a CA. I have both the .cer file and also the .pfx file. Does anyone know how I can add this certificate into my Keystore?Everything I have read about adding certificates into ...
Have a simple program written to fetch response off a URL. Worked correctly on a https URL like "https://www.verisign.com/".However it did not work for another URL (for e.g. abc.com) and threw exception saying:AUTHENTICATION FAILURE: [Security:090508]Certificate chain received from abc.com - ...
992 byte By
_SSNS_a at 2007-10-2 9:38:45
Hi All: We have developed a signed applet to display sensitive data. The applet communicates with Server over SSL connection. Applet is developed with SUN JDK 1.4.2_06 and uses JSSE to communicate with the Server, which is using openSSL. After we deployed the applet to end customers, we found ...
Hi,Please help me with this SSL problem. I am trying to run a small web service application over SSL. Tomcat is the web server. I have created a self signed certificate using the command "%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA"which created a .keystore file for me. I have put ...
2393 byte By
midgeta at 2007-10-2 9:53:49
It seems that once my environment has been informed of a keystore to use for ssl communication, it can't be changed. Is this so? I need to be able to do the following:1) Set a keystore for ssl communicaton2) Establish an ssl connection, (send and receive stuff), and end the connection.3) ...
My company will start a large poject, an online-paying project like "PayPal".I have no experience in java security?So,i want to konw,how can i get a QuickStart with java security?Should i leanrt HTTPS first?What's my first step?
Hello all, I have an application that posts requests through an https connection to a web server. When everything goes well, the server is supposed to send me an xml file. Once my String is encoded and ready to be sent, it looks something like ...
Hi,I am having a Web service running on my Web server (Sunone 6.1). I need to implement Security on it using JSSE. It has to be a MUTUAL authentication.I have installed all the certificates and CA certs on both Client and server. But when I try to call the web service from a standalone Java ...
Hi. I am using the HttpsURLCOnnection object to connect to a secure site. I am connecting successfully, and I am able to retrieve both an input stream and an output stream. There are 2 pages to navigate: Login page and then a file upload form page. I have 3 questions:1.)I am setting an ...
1170 byte By
smithsaa at 2007-10-2 10:58:53
I'm writing an HTTP server application that will proxy several other servers, meaning that when a request comes in, my server will simply shuttle packets back and forth between the client and the real destination. It can do that because the HTTP HOST: header contains the original request, and ...
140 byte By
otixa at 2007-10-2 11:12:51
hii need to know how to impelement EAP using java for my thesis. If anybody knows API's, docs, howto....thanks a lot!!
3301 byte By
rgiria at 2007-10-2 11:22:05
Hello,We need to post data to a secure URL, but for that they need the client certificate from our side. In the .net code that they have supplied how to do that, I see they have something like adding the client .cer file to the HttpRequest before sending the request.The .net code looks like ...
Hi All,am getting the below error when i send request to other client server.Can you please let me know how can i solve this issue. Whether the issue is my side or the client side.thanks in Advance,Narendra
166 byte By
neilha at 2007-10-2 11:29:06
Hi,I am after the TLS version of this cipher suite:SSL_RSA_WITH_3DES_EDE_CBC_SHAOr are they just one and the same?Any ideas anyone?
1888 byte By
raulrga at 2007-10-2 11:57:06
Hi, excuse me for my english, im spanish ;DIm trying to access to HTML code of a web with this code:static protected void getURL(String u) {URL url;InputStream is;InputStreamReader isr;BufferedReader r;String str;try {System.out.println("Reading URL: " + u);url = new URL(u);is = ...
Hello All,I'm trying to establish simple socket connection between two firewalled machines. I'm using cygwin and open ssh. Idea is just to use ssh tunneling.Creating sockets: new ServerSocket(...); on server, and new Socket(...); on the client.After some googling I found the following command ...
Hello,I want to write my own SSLSocketFactory. I want to take the certificates used, at runtime and not through a keystore file. Is it really possible? Where can I find some code samples on this?Thanks in advance.Gaurav
856 byte By
psu99a at 2007-10-2 12:18:33
Here is my dilemma.I have create a .keystore file using genkey : no problemI am running Windows XP ProI am using Tomcat 5.0I am start Tomcat as a service using the tomcat5w.exe programHere is where I have a problem.Tomcat is not consistent as to where it looks for the .keystore fileFolder ...
We connect to an external server with our application and recently the external party update the SSL certificate. After installing the new certificates the following error occurred:16-02-2006 17:50:22HTTP JVM: java.io.IOException: unsupported keyword OID.2.5.4.516-02-2006 17:50:22HTTP JVM: at ...
3350 byte By
VC@TWa at 2007-10-2 12:54:24
Hi, allI tried to use apache xmlrpc over SSL transport, the following 2 simple code works in command line: server.java --public class Server { public Server() {import javax.net.ssl.*;import ...
128 byte By
JSTigera at 2007-10-2 13:00:33
I have a client using SunJSSE, and server using IBMJSSE. Is this kind of configuration supported?Thanks,JST
592 byte By
omm79a at 2007-10-2 13:05:55
well, i have a question, first i have been configurate all ssl on tomcat, and it works but have you ever notice while you are loging on hotmail or gmail, there is a page where you can access with your login and password in a normal http page but when its verifing your account switches quickly ...
hi allwhen i'm trying to connect thro socket i'm getting the exception CONNECTION EXCEPTION:CONNECTION REFUSED:CONNECTcan u verify and tell me whether my code is correct for port scanner. { InetAddress hostAddress=InetAddress.getByName(host); ...
979 byte By
Vladda at 2007-10-2 13:15:12
I have a client desktop program that should connect to the server via xml-rpc and SSL. I use SecureXmlRpcClient and get the exception while execute method call:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderExceptionat ...
Ive an application built using JSF , Hibernate . . running on Jboss - Linux . The app runs fine on HTTP but when I try to run the app on HTTPS .. the first page that is login page opens fine with https but as I provide user/password and click login .. the next page opens up with http .. the ...
Hi,I have a Java application that must open secure communication with a WEB Server. Today, my Java application uses the default keystore/truststore provided by JSSE (stored into PKCS12 file format).I would like to store the truststore/keystore into an LDAP DB and that my Java Application will ...
525 byte By
bmcganna at 2007-10-2 13:48:52
Hi,I am trying to run WSDL2Java on an https URL and get the following error java.io.IOException: HTTPS hostname wrong: should be <ip address>I have added the certificate to the keystore and have checked that the URL and cn of the certificate match but I still get this error. When I turn ...
918 byte By
emha at 2007-10-2 14:16:49
I have worked with the SSLEngine using non-blocked IO and it mostly works.I do have a problem when a client connects and I get WorkerThread-1, fatal error: 40: no cipher suites in common javax.net.ssl.SSLHandshakeException: no cipher suites in common WorkerThread-1, SEND TLSv1 ALERT: fatal, ...
HiI've configured my tomcat server to use SSL with the explanation in tomcat site. After this configuration when I try https://localhost:8443 the page try to open for a long time and then I get The page cannot be displayed error.I'm using Tomcat 5.5.12 and JRE 1.5.0_06-b05 and I have the ...
Hi,My current system has jdk1.3, weblogic7.1 and axis1.1.I have a simple class in java which I use to connect to https://*.jsp.Here is the sample code.System.setProperty("javax.net.ssl.trustStore","/usr/local/client.keystore");System.setProperty"java.protocol.handler.pkgs", ...
Hi guys,Very quick question...Does JSSE extend beyond v1.03 (v1.04 ?) for sdk 1.3.1_16/17 or are we required to upgrade to version 1.4.2 of the sdk ?Best RegardsSteve
1393 byte By
Ackua at 2007-10-2 15:12:48
Right now I am using HTTPS for a secure login by configuring in JBOSS4.04 RC1 with bundled Tomcat: <security-constraint><web-resource-collection> <web-resource-name>Login</web-resource-name> <url-pattern>/faces/SecureLogin.jsp</url-pattern> ...
Is there a simple way to generate a new RSA key whit keytool. Perhaps a small java program!Right now am using by cmd >keytool -genkey -keystore mySrvKeystore -keyalg RSABut it would be fine if I could write all 搇abels?and just execute at onceRegards\Micke
761 byte By
shibania at 2007-10-2 15:27:41
We send PGP encrypted files to business partners via FTP. We have automated this process within a Java framework. There are some partners, however, that require file transmission via https. They supply us with a host address, a username, password, and a file dropoff directory. We upload the ...
205 byte By
bmart22a at 2007-10-2 15:33:28
Does anyone have working code that uses the "POST" method to send raw text (xml format) across the wire to a ssl server using JSSE 1.0.3 that they can post or send to me: (brian.martin1@pw.utc.com).
16175 byte By
neilha at 2007-10-2 15:35:11
Hello,I am hoping someone may be able to help with this performance problem. It seems to take a couple of seconds for a TLS connection to establish over TCP and then when I make several simultaneous connections to my server, performance becomes really bad. For example 10 simultaneous ...
186 byte By
shibania at 2007-10-2 15:41:02
This is a hypothetical question:If one were to encrypt a file using PGP encryption, would there be any reason to send it over an SSL connection? Or would that be redundant?
14912 byte By
jeffraaba at 2007-10-2 16:05:01
Previously I was able to connect via HTTPS to a server at a company called NYISO for a client. The client had a pkcs12 certificate issued by an intermediate entity "Certificate Manager" issued by a CA "NYISO Root". To make secure connections we had to create a JKS truststore from an IE export ...
Hi Everyone,Anyone able to help with a Client Auth problem that is driving me crazy. I am trying to connect to a server using HttpsURLConnection with client authentication. The code was working fine but it had to be moved to a new server and how it is getting a bad_certificate error. I have put ...
2103 byte By
ejpa at 2007-10-2 16:20:15
In my SSLSocketChannel implementation I've come across the following problem situation that I'm not sure how to handle.Assume we have an SSLSocketChannel which provides a write(ByteBuffer) method which both wraps and writes to the channel, much as for SSLSocket.If data (plaintext) is wrapped ...
1181 byte By
rraam75a at 2007-10-2 16:48:57
Hello All,I need to make an https call to a remote system from my windows machine. My system has only j2sdk1.4 environment and no application servers in my side. My remote system expects me to send digitally sign the data and sent along with the certificate of mine. My question is 1. Do we need ...
I have created one SSLClient Socket and SSL ServerSocket programs.When I am running the server side program, the following exception is throwing..javax.net.ssl.SSLException: No available certificate corresponds to the SSL ciphers available.If anybody helps on this, it would be ...
42816 byte By
ngreniera at 2007-10-2 17:26:34
Hello,For a specific need, I've done a simple HTTP server which receives HTTPS incoming POST requests. The requests are a simple HTTP 1.1 request which post data using XML inside of the content.My problem is that often (not always) my server is not able to extract the content of the request. ...
378 byte By
llchen2a at 2007-10-2 17:33:44
Hi:I have a private key and a signing request generated by openssl and got the certificate signed and sent bcak by a CA. I can use the certutil to import the certificate into the NSS certdb but I have not figured out how can I import the private key that associated with the certificate into the ...
Hi all, I磎 testing some code and trying to connect to a secure site through JSSE. When connecting I磎 finding all the time the same exception: java.net.UnkownHostException. This is the exception thrown:java.net.UnknownHostException: www.paypal.comat java.net.PlainSocketImpl.connect(Unknown ...