mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-10-29 18:02:27 +00:00
New certificate creation scripts
This commit is contained in:
10
cert_scripts/more_devices.sh
Executable file
10
cert_scripts/more_devices.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
start=11
|
||||||
|
finish=50
|
||||||
|
cert_life=365
|
||||||
|
|
||||||
|
for i in `eval echo {$start..$finish}`
|
||||||
|
do
|
||||||
|
openssl x509 -signkey server-key.pem -in server.csr -req -days $cert_life -out dev-$i-cert.pem
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user