1 %%\subsection{Database Systems}
2 % This list is based on : http://en.wikipedia.org/wiki/Relational_database_management_system#Market_share
5 \item[Tested with Version:] not tested
7 \item[References:] (German)
8 {\small \url{www.telekom.com/static/-/155996/7/technische-sicherheitsanforderungen-si}}
10 Please read the following pages about SSL and ciphersuites:\\
11 p. 129 -Req 396 and Req 397 \\
14 \subsubsection{SQL Server}
23 \item[Tested with Version:] Debian 7.0 and MySQL 5.5
25 \item[Settings:] \mbox{}
27 \paragraph*{my.cnf}\mbox{}\\
29 \begin{lstlisting}[breaklines]
32 ssl-ca=/etc/mysql/ssl/ca-cert.pem
33 ssl-cert=/etc/mysql/ssl/client-cert.pem
34 ssl-key=/etc/mysql/ssl/client-key.pem
35 ssl-cipher=EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EDH+CAMELLIA256:EECDH:EDH+aRSA:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED:!AES128:!CAMELLIA128:!ECDSA:AES256-SHA
38 \item[Additional settings:]
41 \item[Justification for special settings (if needed):]
43 % in case you have the need for further justifications why you chose this and that setting or if the settings do not fit into the standard Variant A or Variant B schema, please document this here
49 % add any further references or best practice documents here
53 After restarting the server run the following query to see if the ssl settings are correct:
54 \begin{lstlisting}[breaklines]
55 show variables like '%ssl%';
73 \subsubsection{Postgresql}
76 \item[Tested with Version:] Debian 7.0 and PostgreSQL 9.1
80 It's recommended to read
82 {\small \url{http://www.postgresql.org/docs/X.X/interactive/runtime-config-connection.html\#RUNTIME-CONFIG-CONNECTION-SECURITY}}
83 (please change X.X with your preferred version e.g. 9.1).
85 \item[Settings:] \mbox{}
88 To start in SSL mode the server.crt and server.key must exist in the server's data directory \$PGDATA.
90 Starting with version 9.2, you have the possibility to set the path.
92 \begin{lstlisting}[breaklines]
93 ssl_key_file = '/your/path/server.key'
94 ssl_cert_file = '/your/path/server.crt'
95 ssl_ca_file = '/your/path/root.crt'
98 \paragraph*{postgresql.conf}\mbox{}\\
100 \begin{lstlisting}[breaklines]
103 ssl_ciphers = 'EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EDH+CAMELLIA256:EECDH:EDH+aRSA:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED:!AES128:!CAMELLIA128:!ECDSA:AES256-SHA'
109 To test your ssl settings, run psql with the sslmode parameter:
110 \begin{lstlisting}[breaklines]
111 psql "sslmode=require host=postgres-server dbname=database" your-username
119 \subsubsection{Informix}