mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-14 04:16:35 +00:00
10 lines
209 B
Bash
Executable file
10 lines
209 B
Bash
Executable file
#! /bin/sh
|
|
|
|
BASE_DIR=$(dirname $0)
|
|
|
|
OUTDIR=""
|
|
if [ $# -eq 1 ]; then
|
|
OUTDIR=$1/
|
|
fi
|
|
|
|
openssl req -x509 -newkey rsa:4096 -keyout ${OUTDIR}key.pem -out ${OUTDIR}cert.pem -days 365 -nodes -subj "/CN=example.com"
|