Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2020-02-03 17:13:17
Size: 1450
Comment:
Revision 5 as of 2020-02-08 23:02:51
Size: 413
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
=== Certificate Authority ===
Create the certificate authority key.
{{{
openssl genrsa -out ca-key.pem 2048
}}}

Create the certificate authority certificate.
{{{
openssl req -new -x509 -nodes -days 365000 -key ca-key.pem -out ca-cert.pem
}}}

=== Server ===
Create the server key.
{{{
openssl req -newkey rsa:2048 -days 365000 -nodes -keyout server-key.pem -out server-req.pem
openssl rsa -in server-key.pem -out server-key.pem
}}}

Sign the server certificate.
{{{
openssl x509 -req -in server-req.pem -days 365000 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out server-cert.pem
}}}

=== Client ===
Create the client key.
{{{
openssl req -newkey rsa:2048 -days 365000 -nodes -keyout client-key.pem -out client-req.pem
openssl rsa -in client-key.pem -out client-key.pem
}}}

Sign the client certificate
{{{
openssl x509 -req -in client-req.pem -days 365000 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out client-cert.pem
}}}

Line 44: Line 8:

 * http://galeracluster.com/documentation-webpages/sslcert.html
 * http://galeracluster.com/documentation-webpages/sslconfig.html
 * https://mariadb.com/kb/en/securing-communications-in-galera-cluster/

None: Mariadb Replication Encryption (last edited 2020-02-08 23:02:51 by Kristian Kallenberg)