Mountain View
Jabber SDK 11.7.0 API Documentation

Tutorial: Handling Invalid Certificates

Handling Invalid Certificates

Title While connecting TelephonyDevice to CUCM (as it is shown in Connecting And Using Telephony Device tutorial), CUCM can have Invalid Certificates. If that is the case, user must be asked what he wants to do with them. These certificates can be either ccepted or rejected. Certificate management is a handled through CertificateController. Event handler for "onInvalidCertificate" event must be set. In the snippet below it is shown how to do this:

        function onInvalidCertificate(invalidCertificate)
        {
            // Accept or reject invalid certificate.
        }

        cwic.CertificateController.addEventHandler("onInvalidCertificate", onInvalidCertificate);
    
In the following tutorials it will be shown how to:

Next

Previous