Skip to content

Commit

Permalink
docs: encryption: use same name for example certificate.
Browse files Browse the repository at this point in the history
The name used in the documentation how to create the certificates was
"fd-example", while the example configuration file used "client1-fd".

Now both use "example-fd", as the filedaemons usually are called
"<name>-fd" everywhere.
  • Loading branch information
pstorz committed May 15, 2020
1 parent 8bda99f commit 60caf4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/manuals/source/TasksAndConcepts/DataEncryption.rst
Expand Up @@ -88,9 +88,9 @@ Generate a File Daemon Key Pair for each FD:

::

openssl genrsa -out fd-example.key 2048
openssl req -new -key fd-example.key -x509 -out fd-example.cert
cat fd-example.key fd-example.cert >fd-example.pem
openssl genrsa -out example-fd.key 2048
openssl req -new -key example-fd.key -x509 -out example-fd.cert
cat example-fd.key example-fd.cert >example-fd.pem



Expand Down
2 changes: 1 addition & 1 deletion docs/manuals/source/include/config/FdClientPki.conf
Expand Up @@ -4,7 +4,7 @@ FileDaemon {
# encryption configuration
PKI Signatures = Yes # Enable Data Signing
PKI Encryption = Yes # Enable Data Encryption
PKI Keypair = "/etc/bareos/client1-fd.pem" # Public and Private Keys
PKI Keypair = "/etc/bareos/example-fd.pem" # Public and Private Keys
PKI Master Key = "/etc/bareos/master.cert" # ONLY the Public Key
PKI Cipher = aes128 # specify desired PKI Cipher here
}

0 comments on commit 60caf4b

Please sign in to comment.