jsse Questions

3

Solved

I'm using Java 1.6 and netty 3.8 for HTTP/HTTPS server. I've done SSL test by ssllab.com(https://www.ssllabs.com/ssltest/analyze.html), and I got a result for cipher suites like below. Cipher Su...
Genisia asked 30/12, 2013 at 9:41

1

Solved

SSLParameters support the following properties (as per Spring notation): cipherSuites, protocols, wantClientAuth, needClientAuth, algorithmConstraints, endpointIdentificationAlgorithm, serverNames,...
Ineducable asked 3/5, 2018 at 16:55

2

Solved

I'm using Robolectric 4.3.1 (testImplementation "org.robolectric:robolectric:4.3.1") to create an Android sqlite environment for my integration tests. My system uses OkHttp (implementation 'com.squ...
Smilacaceous asked 1/3, 2020 at 6:58

3

Solved

We are writing an application that shall connect to different LDAP servers. For each server we may only accept a certain certificate. The hostname in that certificate shall not matter. This is easy...
Profiteer asked 22/2, 2012 at 12:35

5

Solved

In working on a different problem (related to RMI), I upgraded the system's "security folder" with the "unlimited strength" policy files and now my applicaiton fails in a different way. I get a lon...
Zadoc asked 16/3, 2012 at 22:15

15

Has anyone encountered this error before? I'm new to SSL, is there anything obviously wrong with my ClientHello that I'm missing? That exception is thrown with no ServerHello response. Any advice i...
Winded asked 14/5, 2013 at 11:9

9

Solved

I am using Java 6 and am trying to create an HttpsURLConnection against a remote server, using a client certificate. The server is using an selfsigned root certificate, and requires that a password...
Bragi asked 17/5, 2009 at 20:51

2

Solved

How can one programmatically obtain a KeyStore from a PEM file containing both a certificate and a private key? I am attempting to provide a client certificate to a server in an HTTPS connection. I...
Unopened asked 19/9, 2012 at 18:57

5

Solved

I've setup a self-signed certificate to test an ssl java connection - however, it is refusing to locate the java trustStore. I've saved copies of it in /Java/jre6/lib/security in addition to the fo...
Pean asked 26/1, 2010 at 9:48

2

Solved

The SSLSocket.getEnabledProtocols() method returns the following: [SSLv2Hello, SSLv3, TLSv1]. And indeed, when I call connect() and I have SSL debugging turned on, I see that a v2 client hello is u...
Zelig asked 13/1, 2011 at 17:11

4

Solved

By looking at the file java.security of my JRE, I see that the keystore type to use by default is set to JKS. Here, there is a list of the keystore types that can be used. Is there a recommended k...
Plexiglas asked 18/7, 2012 at 8:4

3

Solved

I just installed Ubuntu 15.10 and their openjdk-8-jdk (by apt-get). Now I am missing the cacerts file. There is a link at the usual location: ls -l /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/secu...
Hodgson asked 30/10, 2015 at 15:49

6

My application has a personal keystore containing trusted self-signed certificates for use in the local network - say mykeystore.jks. I wish to be able to connect to public sites(say google.com) as...
Exaggeration asked 17/4, 2014 at 22:13

4

Solved

I have two applications running in the same java virtual machine, and both use different keystores and truststores. A viable option would be use a single keystore and import all the other on...
Baltic asked 25/11, 2009 at 0:46

0

I am trying to enable the SNI extension in my project. I set jsse.enableSNIExtension property by following ways: 1. Writing System.setProperty("jsse.enableSNIExtension", "true"); 2. Passing -Djss...
Phlegm asked 28/11, 2019 at 23:15

15

Solved

What is the best method of performing an scp transfer via the Java programming language? It seems I may be able to perform this via JSSE, JSch or the bouncy castle java libraries. None of these sol...
Oasis asked 14/10, 2008 at 0:50

2

I am trying to register a corporate certificate for https connection in OpenJDK I ran the following command in OpenJDK verion 8. It asked me to enter in the password. The default password for Orac...
Riverside asked 2/7, 2019 at 7:23

1

I get an error on this line: final KeyStore keyStore = KeyStore.getInstance("BKS"); the error i get is: java.security.KeyStoreException: BKS not found at java.security.KeyStore.getInstance(Unk...
Philender asked 27/7, 2012 at 10:11

3

I want to create an app use SSLSocket: client send a String to server and server will uppercase that String and send back to client for display. SSLServer public class SSLServer { public static ...
Blow asked 14/12, 2012 at 7:25

4

Solved

I have a single installation of java in a system that runs 2 or 3 applications. All the applications use the same runtime. Is there a way to specify a different keystores for the ca certs than t...
Crenellate asked 15/4, 2010 at 0:58

8

I have seen Where to find Java 6 JSSE/JCE Source Code? and asked the question myself How to get JRE/JDK with matching source? but I don't either of these was specific enough to get the answer I w...
Giffin asked 2/10, 2008 at 17:27

1

Solved

It looks like JSSE in OpenJDK version 8 does not implement RFC7507. There is an open defect in OpenJDK bug tracker: JDK-8061798 But there is not much information about the Oracle JDK. Does the Orac...
Weakfish asked 27/6, 2017 at 12:49

2

Solved

I am writing an application that uses SSLEngine with NIO, I writing both the client and the server. The client is able to connect to the server and after he is connected i want him to be able to pe...
Fanaticism asked 15/5, 2012 at 16:29

0

I am developing an Android application and want to add a custom extension on the TLS/SSL ClientHello handshake. Both OpenSSL and BoringSSL support the necessary functionality and callbacks to add c...
Improvvisatore asked 5/9, 2016 at 2:49

3

During TLS negotiation, clients send a list of supported ciphers to the server, the server picks one, and encryption starts. I want to change this cipherlist sent to the server by Android, when I'm...
Peskoff asked 30/4, 2013 at 12:6

© 2022 - 2024 — McMap. All rights reserved.