public PrivateKey privateKey() {
        return ensureCertificate().key();
    }
Returns the {@link PrivateKey} of the self-signed certificate.
junit5/src/main/java/com/linecorp/armeria/internal/testing/SelfSignedCertificateRuleDelegate.java