Reply To: RE: Sonata switchboard frozen on activation

VitalPBX Community Support General Discussion Sonata switchboard frozen on activation Reply To: RE: Sonata switchboard frozen on activation

    vitalpbx2018
    Participant
    Up
    0
    Down

    Thank you.

     

    [root@vitalpbx ~]# cat /tmp/chk_api 

    #/usr/bin/bash

    set -e

     

    pbx_token=$(cat /etc/ombutel/ombutel-maint.conf)

    curl -X POST -d “token=$pbx_token&key=$pbx_token”  http://127.0.0.1/api/authenticate

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]# /tmp/chk_api

    <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>

    <html><head>

    <title>301 Moved Permanently</title>

    </head><body>

    <h1>Moved Permanently</h1>

    <p>The document has moved <a href=”https://127.0.0.1/api/authenticate”>here</a&gt;.</p>

    </body></html>

    [root@vitalpbx ~]#

     

     

     

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]# cat /tmp/chk_api 

    #/usr/bin/bash

    set -e

     

    pbx_token=$(cat /etc/ombutel/ombutel-maint.conf)

    curl -X POST -d “token=$pbx_token&key=$pbx_token”  https://127.0.0.1/api/authenticate

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]# /tmp/chk_api 

    curl: (51) Unable to communicate securely with peer: requested domain name does not match the server’s certificate.

    [root@vitalpbx ~]# 

    [root@vitalpbx ~]#

     

     

    0