Is it possible to run server with custom digital certificate?
Question: Is it possible to run server with custom digital certificate?
1
Resilio Bot • 100 wrote:
ADD COMMENT
• link
•
modified 4.6 years ago
by
Resilio Connect ♦♦ 750
•
written
4.6 years ago by
Resilio Bot • 100
2
Resilio Connect ♦♦ 750 wrote:
Yes, it's possible.
Resilio Connect Management Console can use custom digital certificates and keys. There are two pairs utilized: one for web connections, the other for server-agent authentication. Either key shall be stripped off passphrase before feeding it to the server.
There are two ways to point the server to custom certificate and key. Stop server before making any changes, and start after.
1) Editing Management Console configuration file, and pointing it to new .crt
and .key
here:
"peerServer": {
"tls": {
"cert": "/path/to/own.crt",
"key": "/path/to/own.key"
},
and here:
"https": {
"ssl": {
"cert": "/path/to/new.crt",
"key": "/path/to/new.key"
},
2) Putting your own .crt
and .key
pairs into ${resilio_connect_server_dir}/var/certs
directory instead of default ones. Ensure they have the same name, or adjust name.crt
and name.key
in config.
Please log in to add an answer.