1 %%\subsection{Database Systems}
2 % This list is based on : https://en.wikipedia.org/wiki/Relational_database_management_system#Market_share
4 %% ----------------------------------------------------------------------
6 \subsubsection{Tested with Versions}
8 \item We do not test this here, since we only reference other papers for Oracle so far.
12 \subsubsection{References}
14 \item Technical safety requirements by \emph{Deutsche Telekom AG} (German). Please read section 17.12 or pages 129 and following (Req 396 and Req 397) about SSL and ciphersuites \url{http://www.telekom.com/static/-/155996/7/technische-sicherheitsanforderungen-si}
19 %% ----------------------------------------------------------------------
20 %%\subsection{SQL Server}
25 %% ----------------------------------------------------------------------
29 \subsubsection{Tested with Versions}
31 \item Debian Wheezy and MySQL 5.5
35 \subsubsection{Settings}
40 ssl-ca=/etc/mysql/ssl/ca-cert.pem
41 ssl-cert=/etc/mysql/ssl/server-cert.pem
42 ssl-key=/etc/mysql/ssl/server-key.pem
43 ssl-cipher=%*\cipherStringB*)
47 %\subsubsection{Additional settings}
50 %\subsubsection{Justification for special settings (if needed)}
51 % 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
54 \subsubsection{References}
56 \item MySQL Documentation on SSl Connections: \url{https://dev.mysql.com/doc/refman/5.5/en/ssl-connections.html}
60 \subsubsection{How to test}
61 After restarting the server run the following query to see if the ssl settings are correct:
63 show variables like '%ssl%';
67 %% ----------------------------------------------------------------------
69 \subsubsection{Tested with Version}
71 \item We do not test this here, since we only reference other papers for DB2 so far.
75 \subsubsection{Settings}
76 \paragraph{ssl\_cipherspecs:}
77 In the link above the whole SSL-configuration is described in-depth. The following command shows only how to set the recommended ciphersuites.
79 # recommended and supported ciphersuites
81 db2 update dbm cfg using SSL_CIPHERSPECS
82 TLS_RSA_WITH_AES_256_CBC_SHA256,
83 TLS_RSA_WITH_AES_128_GCM_SHA256,
84 TLS_RSA_WITH_AES_128_CBC_SHA256,
85 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
86 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
87 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
88 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
89 TLS_RSA_WITH_AES_256_GCM_SHA384,
90 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
91 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
92 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
93 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
94 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
95 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
96 TLS_RSA_WITH_AES_256_CBC_SHA,
97 TLS_RSA_WITH_AES_128_CBC_SHA,
98 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
99 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
103 \subsubsection{References}
105 \item IBM Db2 Documentation on \emph{Supported cipher suites} \url{http://pic.dhe.ibm.com/infocenter/db2luw/v9r7/index.jsp?topic=\%2Fcom.ibm.db2.luw.admin.sec.doc\%2Fdoc\%2Fc0053544.html}
108 %% ----------------------------------------------------------------------
110 \subsection{PostgreSQL}
111 \subsubsection{Tested with Versions}
113 \item Debian Wheezy and PostgreSQL 9.1
114 \item Linux Mint 14 nadia / Ubuntu 12.10 quantal with PostgreSQL 9.1+136 and OpenSSL 1.0.1c
118 \subsubsection{Settings}
119 To start in SSL mode the server.crt and server.key must exist in the server's data directory \$PGDATA.
121 Starting with version 9.2, you have the possibility to set the path manually.
124 ssl_key_file = '/your/path/server.key'
125 ssl_cert_file = '/your/path/server.crt'
126 ssl_ca_file = '/your/path/root.crt'
129 \paragraph*{postgresql.conf}
133 ssl_ciphers = '%*\cipherStringB*)'
137 \subsubsection{References}
139 \item It's recommended to read \url{http://www.postgresql.org/docs/9.1/interactive/runtime-config-connection.html\#RUNTIME-CONFIG-CONNECTION-SECURITY} (please edit the version with your preferred one).
140 \item PostgreSQL Documentation on \emph{Secure TCP/IP Connections with SSL}: \url{http://www.postgresql.org/docs/9.1/static/ssl-tcp.html}
141 \item PostgreSQL Documentation on \emph{host-based authentication}: \url{http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html}
145 \subsubsection{How to test}
146 To test your ssl settings, run psql with the sslmode parameter:
148 psql "sslmode=require host=postgres-server dbname=database" your-username