The MediaKeys.setServerCertificate() method a Promise to a server certificate to be used to encrypt messages to the license server.