mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
A shell script to illustrate generating ECDSA key
For now put down the openssl commands required to get the key and certificate available.
This commit is contained in:
parent
a08eace00c
commit
8515d43dad
4
confluent_server/bin/createcert.sh
Normal file
4
confluent_server/bin/createcert.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
umask 0077
|
||||
openssl ecparam -name secp384r1 -genkey -out /etc/confluent/privkey.pem
|
||||
openssl req -new -x509 -key /etc/confluent/privkey.pem -days 760 -out /etc/confluent/srvcert.pem -subj /CN=$(hostname)
|
Loading…
Reference in New Issue
Block a user