https://github.com/mohith6/certificate-broadcast
Broadcasting certificates to the clients over HTTP and HTTPS protocols and validating client's certificate over HTTPS using mutual SSL authentication
https://github.com/mohith6/certificate-broadcast
certificates cryptography digitalsignature java publickey-authentication rsa-encryption
Last synced: 11 months ago
JSON representation
Broadcasting certificates to the clients over HTTP and HTTPS protocols and validating client's certificate over HTTPS using mutual SSL authentication
- Host: GitHub
- URL: https://github.com/mohith6/certificate-broadcast
- Owner: mohith6
- License: gpl-3.0
- Created: 2024-12-24T08:43:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-24T08:53:54.000Z (over 1 year ago)
- Last Synced: 2025-02-21T12:34:14.776Z (over 1 year ago)
- Topics: certificates, cryptography, digitalsignature, java, publickey-authentication, rsa-encryption
- Language: Java
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Certificate-Broadcast
Broadcasting certificates to the clients over HTTP and HTTPS protocols and validating client's certificate over HTTPS using mutual SSL authentication
Generate the keystore and SSL certificate for the server:
keytool -genkeypair -v -keystore server-keystore.jks -keyalg RSA -keysize 2048 -validity 365 -storepass changeit -keypass changeit -dname "CN=localhost"
Enabling mutual authentication:
keytool -genkeypair -v -keystore client-keystore.jks -keyalg RSA -keysize 2048 -validity 365 -storepass changeit -keypass changeit -dname "CN=client"
With the Client certificate, test the encrypted response:
curl --cert client-keystore.jks:changeit https://localhost:8443/broadcastCertificate