added CERT parsing