Msg 28055, Level 15, State 5, Line 3 database mirroing in MSSQL 2005 SP2

I am setting up a database mirroring in SQL server 2005 SP2 .The issue is when I create endpoint on any of the servers,  after creating the certificate I am getting the following error message

Msg 28055, Level 15, State 5, Line 3
The certificate 'xxx' 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.

What does this means ?

I have solved this by changing the system date to a day before when creating certificate after changing the date I  create certificate and then I can create endpoints without this error .

Is there any mistake in my steps?

LVL 11
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

James MurrellProduct SpecialistCommented:
You need to ensure that all of the SQL Servers you are using for the mirroring configuration are synchronized in terms of time i.e., the system time is same. Otherwise, you will get into this situation which can result in a cert being considered as expired.
sumeshbnrAuthor Commented:
could any one give me a step by step guide for database mirroring with witness (HA) with out posting link

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
James MurrellProduct SpecialistCommented:
hate to say that could be impossible "step by step guide for database mirroring with witness (HA)" without a url...

and really that is another question
sumeshbnrAuthor Commented:
no good answer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.