mirror of
https://github.com/mtan93/hass-addons.git
synced 2026-03-07 21:22:00 +00:00
Update install-ucp.sh
This commit is contained in:
@@ -4,7 +4,9 @@ apt-get update -y
|
|||||||
apt-get -y install netcat
|
apt-get -y install netcat
|
||||||
echo Checking OpenSSL
|
echo Checking OpenSSL
|
||||||
openssl version -a
|
openssl version -a
|
||||||
echo Generating cert
|
echo Generating
|
||||||
|
rm -rf /tmp/client.pem
|
||||||
|
rm -rf /opt/client.pem
|
||||||
cd /tmp
|
cd /tmp
|
||||||
openssl ecparam -out /tmp/private.key -name prime256v1 -genkey -noout
|
openssl ecparam -out /tmp/private.key -name prime256v1 -genkey -noout
|
||||||
openssl req -new -sha256 -key /tmp/private.key -out /tmp/server.csr -subj "/C=TW/L=Taipei/O=Ubiquiti Networks Inc./OU=devint/CN=camera.ubnt.dev/emailAddress=support@ubnt.com"
|
openssl req -new -sha256 -key /tmp/private.key -out /tmp/server.csr -subj "/C=TW/L=Taipei/O=Ubiquiti Networks Inc./OU=devint/CN=camera.ubnt.dev/emailAddress=support@ubnt.com"
|
||||||
|
|||||||
Reference in New Issue
Block a user