Jump to content

Carsten Eider

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Carsten Eider

    Get certifacte from https-connection

    Hi Angus, thank you for your very helpful hints. Using the mentioned examples I was able to solve 2 of 4 of my tasks!!!! Great Now I have to verify to normal TLS-Certificates. I tried to use the code for OCSP, but obviously I did not use it corretly. Any further hints on this issue? Tia Carsten
  2. Carsten Eider

    Get certifacte from https-connection

    Hi Angus, thx for your hint. My idea was to do the checks after the request have been done. That's why i tried to get the information from SSLContext. Working with " onSslHandshakeDone" but failed for me to. PeerCert looks empty for me, not being a cryptoexpert. In detail I need to get something called "C.FD.TLS-S" , which is meant to be a X509-stuff, as a Base64 string.
  3. Hi, I am connecting to a server vis https on using TSslHttpCli. This works fine, communication is possible. But I have to verify the X509-certificate with another tool. So how can I get the used X509-certificate, sound to me like the public key of the server? Any ideas? Tia Carsten
  4. Within a governmental projet there is a strange requirement I am trying to solve ICS. We have to set up a complete http-request, such as get or post, with multiple headers, a content-type and so on. But now I would like to get the request as a string or write it into a stream without sending it to a server over tcp. Vice versa, I would like to read the response to the request from before out of a stream or a string. Why do we have to do this? The original request has to be encrypted in a non standard-way and sent do a special server, which will decrypt the request, do is work, create a encrypted response and send this back to us. Any ideas how we could implement this requirement?
×