mockserver-core/src/main/java/org/mockserver/configuration/ConfigurationProperties.java
public static void forwardProxyPrivateKey(String privateKey) {
        fileExists(privateKey);
        System.setProperty(MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY, privateKey);
        forwardProxyPrivateKey = readPropertyHierarchically(MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY, "MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY", DEFAULT_FORWARD_PROXY_TLS_PRIVATE_KEY);
    }
/**
     * File location of custom Private Key for proxied TLS connections out of MockServer, the private key must be a PKCS#8 PEM file
     * <p>
     * To convert a PKCS#1 (i.e. default for Bouncy Castle) to a PKCS#8 the following command can be used: openssl pkcs8 -topk8 -inform PEM -in private_key_PKCS_1.pem -out private_key_PKCS_8.pem -nocrypt
     * <p>
     * This private key will be used if MockServer needs to perform mTLS (client authentication) for outbound TLS connections.
     *
     * @param privateKey location of the PEM file containing the private key
     */


@param privateKey location of the PEM file containing the private key
@param privateKey location of the PEM file containing the private key
public static void forwardProxyPrivateKey(String privateKey) {
        fileExists(privateKey);
        System.setProperty(MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY, privateKey);
        forwardProxyPrivateKey = readPropertyHierarchically(MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY, "MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY", DEFAULT_FORWARD_PROXY_TLS_PRIVATE_KEY);
    }
public static void forwardProxyPrivateKey ( String privateKey ) { fileExists ( privateKey ) ; System . setProperty ( MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY , privateKey ) ; forwardProxyPrivateKey = readPropertyHierarchically ( MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY , "MOCKSERVER_FORWARD_PROXY_TLS_PRIVATE_KEY" , DEFAULT_FORWARD_PROXY_TLS_PRIVATE_KEY ) ; }
File location of custom Private Key for proxied TLS connections out of MockServer, the private key must be a PKCS#8 PEM file
 <p>
 To convert a PKCS#1 (i.e.
File location of custom Private Key for proxied TLS connections out of MockServer the private key must be a PKCS#8 PEM file <p > To convert a PKCS#1 ( i . e .