376 byte By
eb98ac at 2007-9-26 1:19:00
I am trying to connect to my apache server with mod_ssl/OpenSSL using a Java application. I have a created a server cert using the opensll and I signed it myself.I get a javax.net.ssl.SSLException: untrusted server cert chain error. Do I have to purchase a trusted cert to access the site before ...
Hi ,This is a question on configuration of the websphere environment .Here is my problem :I have a class that has no problem communicating with a https servlet when executed as a java application .the steps that I took to ensure this are 1. setting the following jar files in my classpath ...
Hi,I have installed SSL 3 on my IIS server. Am trying to connect to the server with my java code. When i connect to the sever using HTTPSURLConnection it gives me this error. Then i imported the certificate of the server using keytool but still it was giving me the same error. No when i again ...
332 byte By
danweber at 2007-9-26 1:30:07
My program is checking the InputStream.available() method to see if there is any data ready to be read (so it would not block).This works fine with a regular socket but with a JSSE socket the available() method always returns 0. Is this a limitation or a known bug? Is there a ...
398 byte By
eb98ac at 2007-9-26 1:33:13
I have created test certificates using the openssl command. I am having problems with using this certificate in a web browser application I have created in Java. I have no problems with http requests. The certificate is self-signed and is no expiried. Could you please help me with the steps ...
1643 byte By
MathieuG at 2007-9-26 1:33:31
Hi.. I've been trying to trust my own Win 2000 certificate for a week by now and I still can't figure how to do it. I would like to create users (with password) in Active Directory using a java program (and LDAP) and in order to do it, I have to make an SSL connection to ADS. So.. this is ...
199 byte By
momul at 2007-9-26 1:37:08
Hi all, As my programm is compiling correclty but when i am trying to run that program i am getting SSL implementation not available error.thanks in advance.
227 byte By
think1 at 2007-9-26 1:37:48
hi all, i'm new to java as well as SSL.now i wish to write a servlet that can be used to connected to a https site, what are the things that i need to do? and can i have some sample code to test it? thanks
1002 byte By
vitamin at 2007-9-26 1:39:35
HelloIm getting:[24/Jul/2001 12:50:18 01835] [error] OpenSSL: error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate [Hint: No CAs known to server for verification?]when I try to connect to a server requiring client certificates. The client java program ...
136 byte By
darkit at 2007-9-26 1:39:38
How can i get public/private keys with Keytool ?I made keytool -genkey..... but how can i see them ?Thank's
467 byte By
lujaika at 2007-9-26 1:40:11
Hi, I've got a problem:I installed OpenSSL to generate a certificate but when I want to make a request with a command:-openssl req -new -out REQ.pem -keyout KEY.pem it results in DOS as:problems making Certificate Request4293148761:error:0E06D06A:configuration fileroutines:NCONF_get_string:no ...
I am trying to connect the https server using JSSE. When i tried connecting it thru SSL by setting the truststore properties and the rest its working fine.The same thing when i tried to connect by setting PKI to require i am getting the error : Connection aborted by peer: socket write error Do ...
1004 byte By
sachikoH at 2007-9-26 1:44:44
Hi,I am trying to connect a Java test client to a Java test server using a certificate I generated using openSSL. I put the contents of the .pem file in a keystore using keytool and now I have a keystore with this trusted certificate in it. I also put the certificate in the cacerts. The ...
344 byte By
moks at 2007-9-26 1:45:13
I am repeatedly getting the following error.handshake_failure (no cipher suites in common)This happens only between MVS and other platforms.I believe it is because of the different character encodings between the two. Can somebody suggest me a solution to this?Please help...Regards,Mohan ...
61 byte By
fredyd at 2007-9-26 1:45:59
How to create a private/public keys?Fred
Hi,I would be very grateful to you, if you could send mesome information that explains the general behaviour sockets under high load conditions.Thanks,Senthilkumar
Is client authentication possible with the standard URLConnection object ?I see a problem with setting the need Client auth flag on the SSLSocke. Since thes object really don't have access to the raw sockets.
I am trying to connect to a SSL enabled Lotus Domino Mail Server, using JSSE. At the client side this is the exception encountered:javax.net.ssl.SSLPeerUnverifiedException: peer not authenticatedat com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain([DashoPro-V1.2-120198])at ...
620 byte By
ag71071 at 2007-9-26 1:55:54
HelloI'm opening secure sockets at regular intervals, say 15 minutes. I create an SSLContext and SocketFactory only once, then every new socket shares the same session information. If I look at the log generated by the javax.net.debug=ssl.handshake property, it looks like the server ...
486 byte By
vyw at 2007-9-26 2:02:30
Is there a maximum value for the certificate lifetimespecified with the -validity option of "keytool -genkey"?We had a user who specified 100 years (36500 days). The keytool program obediently created the certificate.But it shows up as expiring in 1965:Valid from: Thu Jul 26 16:55:25 EDT ...
2046 byte By
hoeghen at 2007-9-26 2:05:05
I am trying to create a HttpsURLConnection object but i dont seem to be getting it when i run the following code.Do i need to set the default socket factory? Or am I doing something terribly wrong?public class URLReader { public static void main(String[] args) throws ...
Dear java experts,By using JSSE, I can connect the web server A in SSL if the server use Versign Cert. However, it will display the following exception when I connect web server B which use CyberTrust (www.baltimore.com) Cert. It seems no problem when i use browser to connect server B. Should I ...
6403 byte By
pjlionel at 2007-9-26 2:17:21
Any help to get this problem resolved would be of help. I get the error as below:D:\test\nt>java ClientServerClient exception: Error marshaling transport header; nested exception is:javax.net.ssl.SSLException: untrusted server cert chainjava.rmi.MarshalException: Error marshaling transport ...
191 byte By
MaramM at 2007-9-26 2:18:59
HiI am trying to connect to an https server but am getting the following error - "java.lang.RuntimeException Export restriction: SunJSSE only". Ideas?
446 byte By
netiac at 2007-9-26 2:19:44
HI.I work to connect between JSSE client and OpenSSL server with self-signed certificate.But I met the SSLSocketException during handshaking.Many Solutions registered in this page.But their are all using keytool.My application connect many site support the self-signed certificate.So, I want to ...
2281 byte By
Abhi325 at 2007-9-26 2:27:46
My jsp files are invoked when I open them in the browser. But the links or Submit buttons of all the files don't work, displaying an error -Error during JSP page processingjava.lang.NoSuchMethodError: java.lang.System: method setProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ...
I have the same problem as followingHiDoes anybody know, how to export a private key from a keystore in a PEM-Encoded format, i.e. that is what openSSL for Apache is looking for.What I got until now from the Keystore (and that's very easy) is an instance of the Key-class of the Private Key. ...
7824 byte By
pdgrim at 2007-9-26 2:46:14
I recently posted a message for the first time. Perhaps i need to provide more information plus the code to make myself clearer. I am using code from the wrox professional java security book, modified a little towards my application: a simple check in a database for employee_id E001 and ...
533 byte By
yaron-r at 2007-9-26 2:47:28
Hi.I keep getting 'javax.net.ssl.SSLException: No available certificate corresponds to the SSL cipher suites which are enabled.'.I was wondering:Is it possible to do an SSL server socket, without any certificate store?Why does it look for a certificate?!(I checked out the handshake protocol, ...
2188 byte By
kennabec at 2007-9-26 2:48:56
This is a smaple program i downloaded, i have others that give me the same error. The following is the source code and and the error output. Any input is much appriciated.kennabec import java.security.*;import java.net.*;import java.io.*;public class Main {public static void main(String[] args) ...
579 byte By
irun5k at 2007-9-26 2:58:39
I'm writing a client app and a server app. The client will connect to the server via HTTPS. A browser will never connect to this HTTPS server, just the client I have written. Can I skip the step of using certificates? I've been told it isn't a requirement. I just want SSL communication, that ...
635 byte By
kitto at 2007-9-26 3:14:57
I would like to secure my sockets(IO) within an applet.I am currently looking at the java.security api but amnot able to find a way of securing the sockets.As the sockets are within the applet I would like to recieve a public key and start decrypting the input stream based on the public key. in ...
We successfully developed a stand-alone application which uses JSSEfor its SSL implementation. Unfortunately, I am having problems withour plug-in applet version of that application (Java Plug-in 1.3.1).As far as I can tell, the plug-in is still using the browser's HTTPShandler. This is in ...
100 byte By
sanamo at 2007-9-26 3:19:39
how to generate a private/public key pair for DSA?thanks in advance.lil.
Hi, i'm trying to acomplish the following:- post some data to a distant webserver via https- read the return code and messageI succeed with the first. (I know that the posted data is accepted by the server). But when I try to read then return code (or anything else which accesses the ...
682 byte By
rdpiazza at 2007-9-26 3:25:20
I have a couple questions about JSSE being a "reference implementation" that I was hoping people could answer:1. From Sun's description, it sounds like this just means that it's not coming with a lot of the bells and whistles that commercial implementations have, but it is fully functional ...
In our Project, we are using JBoss 2.2.1 and Tomcat 3.2.1. From this environment we have to access the https port of another Web Server.(iPlanet). We have successfully configured https in iPlanet and is able to access the same from an ordinary Java class. But when the same code snippet is moved ...
546 byte By
aalim1 at 2007-9-26 3:38:36
Hi, I am pretty new to the subject of secure transmission of data. I would appreciate if someone could help/point me in the right direction. Basically my task is to do the following:1. send a xml data file from Java Client(standalone app) to a webserver via the HTTPS protocol.My constraints are ...
Read the subject?
1433 byte By
jdubus at 2007-9-26 3:45:55
I am trying to connect to a HTTPS server using a jsp page, running JRUN 1.3 and JSSE 1.0.2. I have an error message consistenly that says: "untrusted server cert chain".I believe that the certificate is ok, and JSSE is configured properly.Here is the code I am using, do you know where the ...
557 byte By
glow007 at 2007-9-26 3:47:32
Hi,I am using Apache/Jserv with JSSE 1.0.2 and JDK1.2.2No problems if I connect to a https site and retrieve the content through a servlet. When someone connects to my servlet through https protocol, then the client needs to send his certificate to my server. Then I need to read the contents of ...
I'm trying to write a very simple Java app that connects to a IIS/Tomcat server and uploads a file (using PUT) via HTTPS (using JSSE and the HTTPClient package w/JSSE patch.) I've done this with no problems using straight HTTP, however I'm not having much success with HTTPS. It seems to be a ...
1735 byte By
lambu76 at 2007-9-26 3:55:18
I've tried using your jar for SSL networking, including with JDK 1.4 beta, in a client-server application but I've had some problems.If I use the certificate and keystore bundled with the examples it's OK, but if I use a certificate of mine, both the server and the client give me these ...
585 byte By
mhansohm at 2007-9-26 3:55:31
Hi all,we have a big problem : It seems that it is not possible to connect from an OpenSSL-Client implemented in C to a SSL-Server implemented in Java using JSSE.The initial connection seems to work properly but when the handshake is started, the JSSE-Server always throws an exception ...
3652 byte By
somudg at 2007-9-26 3:56:32
I am having a servlet that will read from an HTTPS site and use it furthur . I am using jsse1.02When I am doing from an application it works fine but when i am doing it from a servlet it throws me an exception in the browser likereported this exception: java/security/PrivilegedAction. Please ...
hi,we want to ssl enable out portal. but since ssl involves a lot of overhead for encryption and decryption we thought of having only a part of our portal in ssl and leave the rest.now my problem is will the session be maintained throught.will there be problems in transition between http and ...
493 byte By
rfeemis at 2007-9-26 4:03:20
Hi,I am running SSL via RMI with a test RSA certificate but the Applet produces the following message on the java consoledefault context init failed: java.security.PrivilegedActionException <<java.security.NoSuchAlgorithmException: Algorithm SunX509 not available>>I am using the SSL ...
795 byte By
annehj at 2007-9-26 4:03:45
Hi, I'm porting a webapplication from Javawebserver to Apache/1.3.6 (Win32) mod_jk mod_ssl/2.2.6 OpenSSL/0.9.2bThe application needs to get the client certificate hash code.Using Javawebserver I usedrequest.getAttribute ...
642 byte By
rayed at 2007-9-26 4:04:04
In JSSE changes file < http://java.sun.com/products/jsse/CHANGES.txt> It states the following: "It is sometimes useful to "disable" the certificate hostname verification during project development. A single certificate can now be shared among many development machines so that the ...
138 byte By
_brocoli at 2007-9-26 4:12:49
Is there any way I can get the number of bytes sent/received with an SSLSocket, but after the handshake/encryption process ?