# Apache configuration for an invalid server.
# Used by test scripts.
Include ../httpd-common.conf

Listen 8125
Listen 8126
Listen 8127
Listen 8128

# Invalid proof configurations.
# Certificate, no proof.
<VirtualHost *:8125>
SSLCertificateFile test-cert.pem
SSLCertificateKeyFile test-key.pem
SSLEngine on
</VirtualHost>

# Second certificate, no proof.
<VirtualHost *:8126>
SSLCertificateFile test-intermediate-cert.pem
SSLCertificateKeyFile test-intermediate-key.pem
SSLEngine on
SSLCertificateChainFile intermediate-cert.pem
</VirtualHost>

# Certificate, wrong proof in a superfluous cert.
<VirtualHost *:8127>
SSLCertificateFile test-cert.pem
SSLCertificateKeyFile test-key.pem
SSLEngine on
SSLCertificateChainFile test-intermediate-cert-chain.pem
</VirtualHost>

# Certificate, wrong embedded proof.
<VirtualHost *:8128>
SSLCertificateFile test-invalid-embedded-cert.pem
SSLCertificateKeyFile test-embedded-key.pem
SSLEngine on
</VirtualHost>
