You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SslServerAuthenticationOptionssslOptions=newSslServerAuthenticationOptions{EnabledSslProtocols=SslProtocols.Tls12,// Only use these protocolsCipherSuitesPolicy=newCipherSuitesPolicy(new[]{TlsCipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256}),ServerCertificate=cert,//cert from 0x81000006 handleClientCertificateRequired=true,EncryptionPolicy=EncryptionPolicy.RequireEncryption,};_stream.AuthenticateAsServer(sslOptions);
If I run the openssl server and client commands it communicates to each other.
openssl s_server -provider tpm2 -provider default -propquery '?provider=tpm2' -accept 4567 -key handle:0x81000006 -cert ssl_certificate.pem -cert_chain combinedchain.pem -cipher AES128-GCM-SHA256 -max_protocol TLSv1.2
openssl s_client -connect localhost:4567 -cipher AES128-GCM-SHA256 -debug -msg -min_protocol TLSv1.2 -max_protocol TLSv1.2
But If I implement the Server command into a console application and (client the same as console) It gives error:
Here is the client side error:
Here is the wiereshark screenshot.
This is the code I used to get key from TPM.
Here is the code to set sslOptions:
Here is the example application to reproduce the issue:
https://github.com/serkanturhanxl/TPMHandler
The text was updated successfully, but these errors were encountered: