summarylogtreecommitdiffstats
path: root/janus-gateway.install
blob: 465776fe315bf51706059eb33e699a8d951cc1f2 (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
	openssl req -x509 -batch -nodes -newkey rsa:1024 \
		-keyout /usr/share/janus/certs/mycert.key \
		-out /usr/share/janus/certs/mycert.pem
}

pre_remove() {
	rm -f /usr/share/janus/certs/mycert.{key,pem}
}