The Config Server Path will not be passed down to the phone.
Is this supported? If so, what is the right way to do so?
On the other hand, if the provisioning configuration with authentication is manually entered on the phone under Auto Provisioning, the phone will be provisioned was expected.
Well, the point here is to introduce an extra security layer with the authentication over SSL, but I will give it a shot tomorrow though.
BTW, there is something else I noticed that should be rectified:
The phone exposes the URL with the credentials during the initialization process, at least this happens when the provisioning config is manually entered on the S500’s WebIf.
I am still not able to use https provisioning with a username and password
I’ve basically done the following
setup a username and password under freepbx > system admin > provisioning protocols
I setup HTTP(s) authentication = HTTPS Only
In the phone template I changed Provisioning Address to “Custom” and put in https://username:password@my-url:1443
I also told that template to use HTTPS for provisioning
Once I tried reverting everything back, it still wasn’t working for me. Even after factory resetting the phone it still didn’t work. The odd part, after resetting the phone, it was still showing the username and password for provisioning even though it was set to NONE under FreePBX. I even made sure to rebuild the config for that phone.
After many reboots, factory resets on the phone and banging my head on my desk, I was able to get the phone to work once again. It did have the wrong date and time (0000-00-00 12:00 AM) After another reboot, the time and date was wrong for a while but updated eventually. Calls were working but the phone was reprovisioned with HTTP instead of HTTPS.
It appears that once you have a username / password configured for HTTP(S) provisioning it doesn’t remove it (even if you set it to NONE in FreePBX and even after a factory reset of the phone. Either that or the Zero Touch provisioning server is sending that info still (even after removing it)
I have several S500s that work fine when using http but not over https.
I’m using the redirect service. I put a firewall in front of the PBX with logging and I can verify that the phones reach out to the server over port 1443 however the phones never register or get a config from EPM.
As soon as I switch to http via port 83, everything works.
Your port 1443 that is the port you have seutp for HTTPS phone provisioning or for your FreePBX Admin GUI and Phone Provisioning uses its own port that you define in port management.