Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL/TLS supprt in dotnet #78

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

TimRivinius
Copy link

Added support for SSL/TLS in dotnet package

I'm not a Java developer and can't add this feature on Java side.

@irmen
Copy link
Owner

irmen commented Sep 17, 2020

cool, thanks for the contribution!

@irmen irmen self-assigned this Sep 29, 2020
@irmen irmen changed the title Tls SSL/TLS supprt in dotnet Sep 29, 2020
@irmen
Copy link
Owner

irmen commented Oct 2, 2020

haven't had the time to test this yet, which I want to do before merging.

@TimRivinius
Copy link
Author

I tested it with the Echo Server (Settings made with Environment Variables) and in the Echo test example I simply set the new config items.
When Testing Mutual TLS make sure to use the pfx/pkcs12 format since dotnet does not support seperate pem files for cert and key.

@irmen
Copy link
Owner

irmen commented Oct 5, 2020

any quick guide on how to generate such keys? I'm not too familiar with it

@TimRivinius
Copy link
Author

With openssl you can generate such a file with openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt from any normal cert/key combo. You will get 1 file containing both, the key and the cert.
The CACERTS file can be in normal pem format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants