Questions tagged [sslserversocket]

8 questions
2
votes
0 answers

SSLServerSocket Android Step by step

For creating SSL server socket on android you need to provide two KeyStore. keyManager key store. Trust manager key store. Creating KeyManager. For creating keyManager, You need to generate PKCS12 with the .crt and .key file. openssl pkcs12…
Yoshimitsu
  • 4,343
  • 2
  • 22
  • 28
1
vote
1 answer

How to verify if SSL shutdown happening for my socket in Java

I have a Java code where I created a SSLSocket. My design looks like this: Super class: Server.java. Member variable: socket of type Socket. My derived class: TLSServer.java. Member variables - SSLSocket sslSock; …
Omi
  • 976
  • 2
  • 20
  • 35
1
vote
0 answers

Acitvemq is getting timed out for connecting to RHEL7.6 machine

Server being interchanged with different operating system one of them able to connect while other is getting timed out . The machine which is getting time out in connecting to the server is RHEL7.6 OS , while client machine can connect to the server…
Rajiv
  • 179
  • 1
  • 2
  • 16
0
votes
0 answers

How to set user required ciphers to SSLContext asper syslog cloudbees client specific?

We are trying to set only those ciphers required for us in client hello , so trying to set ciphers in context object as shown in below code but our changes are not reflecting still client uses default ciphers only and it created sockets every time…
user
  • 1
0
votes
1 answer

How can i include my certificate chain and private key in a tls server using openssl library?

I am trying to write a c code to implement a tls socket using openssl. The server has a certificate chain with 4 certificates: leaf certificate - intermediate1 certificate -intermediate2 certificate - root certificate I init everything in the…
Korcan
  • 11
  • 2
0
votes
0 answers

How to set SSLServerSocket TLS negotiation timeout?

Here is the situation: SSLServerSocket timeout is set to 10 seconds. Everything works as expected, BUT if client is trying to establish TLS connection and "hangs" during negotiation - socket waits forever, ignores 10 second timeout.. and connection…
Ernestas Gruodis
  • 8,567
  • 14
  • 55
  • 117
-1
votes
0 answers

Always get Java BindException but host/port number socket is created

I have a Java program that was developed long ago. It's even in production now. We basically try to create a socket as follows: try { portnum = 4000; SSLContext sslctxt; SSLServerSocket serverSocket = (SSLServerSocket)…
Omi
  • 976
  • 2
  • 20
  • 35
-1
votes
1 answer

One-way TLS Socket Communication is going through even though client side code is set with needClientAuth(true)

The communication is made one way ,Though truststore is empty from client side ,SSL handshake failure is not happening which is expected instead the communication is going through. My understanding by adding this…
Rajiv
  • 179
  • 1
  • 2
  • 16