private static PrivateKey generatePrivateKey(PrivateKeyInfo keyInfo) throws IOException {
        return new JcaPEMKeyConverter().getPrivateKey(keyInfo);
    }
Create a key stored holding certificates and secret keys from the given Docker key cert

@param certPath directory holding the keys (key.pem) and certs (ca.pem, cert.pem)
@return a keystore where the private key is secured with "docker"

@throws IOException is reading of the the PEMs failed
@throws GeneralSecurityException when the files in a wrong format
src/main/java/io/fabric8/maven/docker/access/KeyStoreUtil.java