Hi ,
Using Percona for mongodb 4.2 latest release on a Centos7 VM.
Tried multiple cases as below.
Storage engine encryption :
[LIST]
[*]Method 1:: Local key management :-
[/LIST]
Test 1 : placed the key with OpenSSL random 32 bit key and made the necessary config changes.
Instance does not start: I am on Centos7 This seems to be a bug similar to below JIRA. Workaround to change SELinux audit rules doesn’t help either.
[URL]https://jira.mongodb.org/browse/SERVER-24101[/URL] and [url]https://jira.mongodb.org/browse/SERVER-39648[/url]
Error message:
Mar 12 00:43:21 mongo01 sshd[10539]: Received disconnect from 157.230.123.253 port 57740:11: Normal Shutdown, Thank you for playing [preauth]
Mar 12 00:43:21 mongo01 sshd[10539]: Disconnected from 157.230.123.253 port 57740 [preauth]
Mar 12 00:43:33 mongo01 sshd[10541]: Received disconnect from 157.230.123.253 port 37478:11: Normal Shutdown, Thank you for playing [preauth]
Mar 12 00:43:33 mongo01 sshd[10541]: Disconnected from 157.230.123.253 port 37478 [preauth]
Mar 12 00:43:38 mongo01 polkitd[378]: Registered Authentication Agent for unix-process:10544:2365227 (system bus name :1.81 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Mar 12 00:43:40 mongo01 polkitd[378]: Unregistered Authentication Agent for unix-process:10544:2365227 (system bus name :1.81, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Test 2: Single instance without authentication.
Mar 13 00:22:48 mongo00 polkitd[363]: Registered Authentication Agent for unix-process:17706:10888067 (system bus name :1.198 [/usr/bin/pkttyagent --notify-fd 5 --fallback],
Mar 13 00:22:48 mongo00 systemd[1]: Starting High-performance, schema-free document-oriented database…
– Subject: Unit mongod.service has begun start-up
– Defined-By: systemd
– Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
– Unit mongod.service has begun starting up.
Mar 13 00:22:48 mongo00 systemd[1]: mongod.service: control process exited, code=exited status=2
Mar 13 00:22:48 mongo00 systemd[1]: Failed to start High-performance, schema-free document-oriented database.
– Subject: Unit mongod.service has failed
– Defined-By: systemd
– Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
– Unit mongod.service has failed.
– The result is failed.
Mar 13 00:22:48 mongo00 systemd[1]: Unit mongod.service entered failed state.
Mar 13 00:22:48 mongo00 systemd[1]: mongod.service failed.
Mar 13 00:22:48 mongo00 polkitd[363]: Unregistered Authentication Agent for unix-process:17706:10888067 (system bus name :1.198, object path /org/freedesktop/PolicyKit1/Authe
Test 3: Single instance without authentication.
– Unit mongod.service has begun starting up.
Mar 13 00:40:53 mongo00 systemd[1]: mongod.service: control process exited, code=exited status=2
Mar 13 00:40:53 mongo00 systemd[1]: Failed to start High-performance, schema-free document-oriented database.
– Subject: Unit mongod.service has failed
– Defined-By: systemd
– Support: [url]http://lists.freedesktop.org/mailman/listinfo/systemd-devel[/url]
– Unit mongod.service has failed.
– The result is failed.
Mar 13 00:40:53 mongo00 systemd[1]: Unit mongod.service entered failed state.
Mar 13 00:40:53 mongo00 systemd[1]: mongod.service failed.
Mar 13 00:40:53 mongo00 polkitd[363]: Unregistered Authentication Agent for unix-process:19039:10996553 (system bus name :1.203, object path /org/freedesktop/PolicyKit1/Authe
I am interested to incorporate both Encryption at REST and TRANSPORT. Can you please let me know which is the best environment it works without issues or what is the solution to this?
Thanks,
Amritha