CA-signed certificate verification added

added support for CA signed certificate verification option.