version 1.2.2

- simplify the codes for checking certificate