Added support for parsing ssl certificates using GeneralizedTime format.

fix bug #65698
fix bug #66636