3
votes

For Application gateway all documentation says to upload pfx certificate but when I go to http settings for backend pool it only allows ".cer" certificate and it wont allow ".pfx" file to be uploaded, error displayed says wrong format ? m i doing something wrong or somehow Azure has changed functionality but documentation is still not uploaded . Strangely through this command I am able to upload PFX

az network application-gateway ssl-cert create

Screenshot attached

enter image description here

Update : I am trying to do this for an existing Application Gateway Update 2 : Strangely when I am creating a gateway Azure shows me option for PFX but I dont know why it become cer if I am trying to do this for an existing one.

Is this one of Microsoft's easter eggs??

1
i'm pretty sure it was pfx, maybe theres some dropdown to pick which certificate type to upload? - 4c74356b41
help me with this ?? as till now I am pretty sure that I have lost half of my hairs. - BlindSniper
no idea, i've just checked on my app gateway, says upload pfx and allows to input password - 4c74356b41
humm let me try this with a windows VM it looks like that on windows it gives pfx and on linux it giver cer. Just a hunch - BlindSniper
@BlindSniper You select a wrong entrance on Portal. imgur.com/a/c2xwZ - Shui shengbao

1 Answers

2
votes

It seems you select wrong entrance on Portal.

If you configure Add HTTP setting, you really need a .cer certificate.

enter image description here

More information please refer to this link.

The command az network application-gateway ssl-cert create is used for configure SSL. You could find it on Portal Settings--Listener.

enter image description here