iPhone using SSL config file error in HTTPS external section

Discussion in 'iOS' started by dagsworth461, Jul 29, 2015.

Thread Status:
Not open for further replies.
  1. dagsworth461

    Joined:
    Apr 14, 2015
    Messages:
    5
    Likes Received:
    0
    Does anyone else have this issue?

    Our 3CX ver12.5 generates configuration files that have our internal FQDN in the external https public address section the external http section has the correct external FQDN, this causes problems with iPhones as they use https and you can't set them back to using http like you can an Android see below for an unedited section of the config file

    <MyPhoneServerLocalAddr>http://hsc-df-vmgpbx1.dname.com:5000/MyPhone/MPWebService.asmx</MyPhoneServerLocalAddr>
    <MyPhoneServerPublicAddr>http://pbx.dname.com:5000/MyPhone/MPWebService.asmx</MyPhoneServerPublicAddr>
    <MyPhoneServerLocalSSLAddr>https://hsc-df-vmgPBX1.dname.com:5001/MyPhone/MPWebService.asmx</MyPhoneServerLocalSSLAddr>
    <MyPhoneServerPublicSSLAddr>https://hsc-df-vmgPBX1.dname.com:5001/MyPhone/MPWebService.asmx</MyPhoneServerPublicSSLAddr>

    So as a work around we save the config file and manually edit it in notepad to change the internal FQDN to the external FQDN see below for an edited example

    <MyPhoneServerLocalAddr>http://hsc-df-vmgpbx1.dname.com:5000/MyPhone/MPWebService.asmx</MyPhoneServerLocalAddr>
    <MyPhoneServerPublicAddr>http://pbx.dname.cam:5000/MyPhone/MPWebService.asmx</MyPhoneServerPublicAddr>
    <MyPhoneServerLocalSSLAddr>https://hsc-df-vmgPBX1.dname.com:5001/MyPhone/MPWebService.asmx</MyPhoneServerLocalSSLAddr>
    <MyPhoneServerPublicSSLAddr>https://pbx.dname.com:5001/MyPhone/MPWebService.asmx</MyPhoneServerPublicSSLAddr>
     
  2. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    645
    Likes Received:
    1
    Re: iPhone using SSL config file error in HTTPS external sec

    Hi there,
    This bogus fqdn is coming from the SSL configuration that was set at the beginning, during the 3cx phone system setup wizard.
    In order to adress this issue you will have to :
    - perform a full backup, all options ticked except the SSL
    - uninstall 3cx phone system
    - reinstall 3cx phone system
    - configure the SSL with the proper fqdns this time
    - restore your backup when prompted
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dagsworth461

    Joined:
    Apr 14, 2015
    Messages:
    5
    Likes Received:
    0
    Re: iPhone using SSL config file error in HTTPS external sec

    I found an easier way, I ran regedit on the windows server HKLM-software-3cx-phonesystem and changed the ExternalFQDN to the correct one.
     
  4. pj3cx

    pj3cx Active Member

    Joined:
    Aug 1, 2013
    Messages:
    645
    Likes Received:
    1
    Re: iPhone using SSL config file error in HTTPS external sec

    Editing the registry is a partial fix as this will not fix your SSL certificate generated at setup (which contains bogus fqdns).
    Procedure stated above is the way to go in order to address this fully.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.