patch-server_tlsthread_cpp 625 B

1234567891011121314
  1. $OpenBSD: patch-server_tlsthread_cpp,v 1.2 2016/11/01 09:10:41 landry Exp $
  2. --- server/tlsthread.cpp.orig Mon Mar 10 14:44:59 2014
  3. +++ server/tlsthread.cpp Wed Apr 30 22:56:02 2014
  4. @@ -105,8 +105,7 @@ void TlsThread::setup()
  5. EString keyFile( Configuration::text( Configuration::TlsCertFile ) );
  6. if ( keyFile.isEmpty() ) {
  7. - keyFile = Configuration::compiledIn( Configuration::LibDir );
  8. - keyFile.append( "/automatic-key.pem" );
  9. + keyFile = "/etc/ssl/archiveopteryx.pem";
  10. }
  11. keyFile = File::chrooted( keyFile );
  12. if ( !SSL_CTX_use_certificate_chain_file( ctx, keyFile.cstr() ) ||