You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_debug "Attempting to load variable PANOS_CERTNAME from file."
252
+
_getdeployconf PANOS_CERTNAME
253
+
fi
254
+
245
255
#Store variables
246
256
_panos_host=$PANOS_HOST
247
257
_panos_user=$PANOS_USER
248
258
_panos_pass=$PANOS_PASS
249
259
_panos_template=$PANOS_TEMPLATE
250
260
_panos_template_stack=$PANOS_TEMPLATE_STACK
251
261
_panos_vsys=$PANOS_VSYS
262
+
_panos_certname=$PANOS_CERTNAME
252
263
253
264
#Test API Key if found. If the key is invalid, the variable _panos_key will be unset.
254
265
if [ "$_panos_host" ] && [ "$_panos_key" ];then
@@ -267,6 +278,12 @@ panos_deploy() {
267
278
_err "No password found. If this is your first time deploying, please set PANOS_PASS in ENV variables. You can delete it after you have successfully deployed the certs."
268
279
return 1
269
280
else
281
+
# Use certificate name based on the first domain on the certificate if no custom certificate name is set
0 commit comments