mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 01:40:42 +01:00
7 lines
278 B
Plaintext
Executable File
7 lines
278 B
Plaintext
Executable File
#/bin/sh
|
|
# generates a self-signed certificate and key suitable for use with rsyslog
|
|
# 2008-05-08, rgerhards
|
|
# TODO: make this a robust shell script
|
|
certtool --generate-privkey --outfile $1-key.pem
|
|
certtool --generate-self-signed --load-privkey $1-key.pem --outfile $1-cert.pem
|