Checked and fixed processing of .cer and .pem certificates (containing visible Base-64 public key)