Sets the Certificate at the specified index to cert.
cert
a CertificateList
index of Certificate to set
a Certificate