source: mod_gnutls/test/tests/06_invalid_plaintext/apache.conf

Last change on this file was c9e720f, checked in by Fiona Klute <fiona.klute@…>, 12 months ago

Test what happens if the HTTPS server receives plaintext

The new test tries to

  • send an unencrypted HTTP request to the HTTPS port,
  • establish a TLS connection, send a proper HTTPS request, then send a plaintext HTTP request over the same TCP connections.

In both cases the server has to respond with an appropriate alert.

  • Property mode set to 100644
File size: 240 bytes
1Include ${srcdir}/base_apache.conf
3<VirtualHost _default_:${TEST_PORT}>
4    ServerName ${TEST_HOST}
5    GnuTLSEnable On
6    GnuTLSCertificateFile authority/server/x509-chain.pem
7    GnuTLSKeyFile authority/server/secret.key
Note: See TracBrowser for help on using the repository browser.