Questions tagged [jsse]

JSSE is a Java implementation of Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. Its functionality includes data encryption, server authentication, message integrity, and optional client authentication.

JSSE stands for Java Secure Socket Extension. It is a Java implementation of Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols. Its functionality includes data encryption, server authentication, message integrity, and optional client authentication.

It is so named because originally it was shipped as a separate extension to Java 1.2 and 1.3. Since Java 1.4 it has been part of the standard Java API.

This tag should be used for questions about TLS or SSL programming in Java.

295 questions
0
votes
1 answer

Keystore's password management

A keystore (no matter if it's used for "keystores" or "truststores") is initialized after creation using the load() method. One version expects an InputStream corresponding to the keystore file, and the password to decrypt the file. Providing the…
manash
  • 6,985
  • 12
  • 65
  • 125
-1
votes
1 answer

How to ensure server certificate is created with which private key through java

Customer has created key and certificate using openssl command below openssl req -newkey rsa:1024 -sha1 -keyout OCkey.pem -out OCreq.pem -subj "/C=country/L=city/O=OCserver/OU=myLab/CN=OCserverName/" -config req.conf openssl ca -in OCreq.pem -cert…
Kanagavelu Sugumar
  • 18,766
  • 20
  • 94
  • 101
-1
votes
1 answer

Working with Java.io.file, when ever I try to read a cert from it it always points to wrong path

I am trying to read a cert with file IO , every time I try accessing my cert under testApp/src/main/resources -> cert it always reads X:\workspace1\testApp\target\classes\cert\test.p12 And here is my code that I am using, It always exceptions out…
Kishore Jetty
  • 59
  • 1
  • 8
-1
votes
1 answer

What versions of Java will support TLS1.1

What versions of Java will support TLS1.1 I just need the exact java version and update like JDK 7uXX Reason for this question I am facing an issue connecting TLS1.1 with Java 1.7 . In most of the document I have read its supports but we have to…
Muthukumar
  • 17
  • 1
  • 4
-1
votes
1 answer

Java SSL connection error - Invalid keystore format

I'm creating a server and client all-in-one chat application and I'm trying to switch to an SSL connection. I created a keystore.jks and a certificate file (.cer) but now when the program tries to make a connection the acting client throws: Caused…
DK_
  • 147
  • 1
  • 4
  • 11
-1
votes
1 answer

Browser don't receive data from proxy java

I'm trying to do a java proxy, the http part work fine, but i have a problem with SSL part. I get the connect request, then i create a socket to connect to the website and i can get html code (if i write it in a file and launch this file with…
Psyycker
  • 1
  • 1
-1
votes
1 answer

Java application SSLSockets - Authentication

I'm developing a Java application and I need to send a couple strings to the server through a Secure Sockets, i have to use my own certificate generated by a trusted CA The file certificate is myOwnCRT.crt Client InputStream is = new…
darthlitox
  • 77
  • 1
  • 10
-2
votes
3 answers

Why are there differences between openJDK and oracleJDK

I have problems with the following method: sun.security.x509.AuthorityKeyIdentifierExtension.getEncodedKeyIdentifier() It exists in openJDK but it does not exist in oracleJDK. I always thought that except for some special cases regarding licensing…
Steffen Heil
  • 4,286
  • 3
  • 32
  • 35
-2
votes
1 answer

How enable compression method in tls-1.2

I want to enable compression method on my TLS server developed using JSSE. I know it is not advisable to use compression method in server due to CRIME attacks, but for study(Analysis) purpose I need it. Please help!
Anto Jerome
  • 51
  • 1
  • 4
-3
votes
2 answers

System.setProperty not working on second call

I am using System.setProperty() to set javax.ssl.truststore and keystore values at runtime. But when I set it again with different values inside the code, the changes are not reflected. Any help would be appreciated.
1 2 3
19
20