Skip to content

Commit

Permalink
Removed Params (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeplyDiligent authored Sep 13, 2024
1 parent 6621eee commit b90630e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions deployment/commands_std.azcli
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,6 @@ FIREWALL_PREFIX=10.0.200.0/24
JUMPBOX_PREFIX=10.0.250.0/24
SERVICES_PREFIX=10.0.50.0/24

#Suhas params - delete before commits
RGNAME=asev3-rg
RGLOCATION=eastus
SQLADMINUSER=suadmin
SQLADMINPASSWORD=P@ssword1234
JUMPBOX_USER=sujumpboxuser
JUMPBOX_PASSWORD=P@ssword1234
PFX_PASSWORD=P@ssword1234
VNET_NAME=ASE-VNETaimoczwhjiepc
INTERNAL_APP1_URL="kind-ocean-006539010.2.azurestaticapps.net"
INTERNAL_APP2_URL="kind-ocean-006539010.2.azurestaticapps.net"
az account set -n 'suhas-sub'


# 0. Create self-signed SSL certificate
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -subj "/CN=${APPGW_APP1_URL}" -out appgw_std_1.crt -keyout appgw_std_1.key
openssl pkcs12 -export -out appgw_std_1.pfx -in appgw_std_1.crt -inkey appgw_std_1.key -passout pass:$PFX_PASSWORD
Expand Down Expand Up @@ -178,4 +164,4 @@ certutil -f -p $PFX_PASSWORD -importpfx appgw_std_2.pfx
rm appgw_std_1.crt appgw_std_1.key appgw_std_1.pfx appgw_std_2.crt appgw_std_2.key appgw_std_2.pfx

Add-Content "C:/windows/system32/drivers/etc/hosts" "$APPGW_PUBLIC_IP $APPGW_APP1_URL"
Add-Content "C:/windows/system32/drivers/etc/hosts" "$APPGW_PUBLIC_IP $APPGW_APP2_URL"
Add-Content "C:/windows/system32/drivers/etc/hosts" "$APPGW_PUBLIC_IP $APPGW_APP2_URL"

0 comments on commit b90630e

Please sign in to comment.