Mountain View
Jabber SDK API Documentation

Tutorial: Reject Invalid Certificate

Reject Invalid Certificate

Title Invalid Certificate received through "onInvalidCertificate event can be rejected. Rejecting invalid certificate is done through CertificateController.rejectInvalidCertificate method, as it is shown in the example below:

        var invalidCertificate;

        // ...
        // Invalid certificate is retrieved through "onInvalidCertificate" event.
        // ...

        cwic.CertificateController.rejectInvalidCertificate(invalidCertificate);
    
Once certificate has been reject, Telephony Device will fail to connect with CUCM and "onAuthenticationError" event will be fired, with ServerCertificateRejected error passed.

Next

Previous