docs: public static X509Certificate getCertfromPEM(String certFile)
              throws IOException, CertificateException, NoSuchProviderException {
          InputStream inStrm = new FileInputStream(certFile);
          X509Certificate cert = getCertfromPEM(inStrm);
          return cert;
      }