f69d285399
Archiveopteryx is a mail server system optimised for long-term storage and heavy access. It comprises a set of server programs that provide access to mail stored in a relational database (PostgreSQL). With feedback from ajacoutot@ and JG Pailloncy, reads ok to ajacoutot@
14 lines
627 B
Plaintext
14 lines
627 B
Plaintext
$OpenBSD: patch-server_tlsthread_cpp,v 1.1.1.1 2011/01/09 09:36:21 landry Exp $
|
|
--- server/tlsthread.cpp.orig Fri Apr 9 23:48:32 2010
|
|
+++ server/tlsthread.cpp Fri Apr 9 23:48:55 2010
|
|
@@ -95,8 +95,7 @@ void TlsThread::setup()
|
|
|
|
EString keyFile( Configuration::text( Configuration::TlsCertFile ) );
|
|
if ( keyFile.isEmpty() ) {
|
|
- keyFile = Configuration::compiledIn( Configuration::LibDir );
|
|
- keyFile.append( "/automatic-key.pem" );
|
|
+ keyFile = "/etc/ssl/archiveopteryx.pem";
|
|
}
|
|
keyFile = File::chrooted( keyFile );
|
|
if ( !SSL_CTX_use_certificate_chain_file( ctx, keyFile.cstr() ) ||
|