I want to add a new certificate for Mirorring i get this error message:
QUERY:
ALTER ENDPOINT [mirroring] FOR DATABASE_MIRRORING (AUTHENTICATION = CERTIFICATE [SQL2K51_cert_2])
GO
RESULT:
The certificate 'cert1' is not valid for endpoint authentication. The certificate must have a private key encrypted with the database master key and current UTC date has to be between the certificate start date and the certificate expiration date.
How do i handle this problem.