You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e333af0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: opendj-doc-generated-ref/src/main/asciidoc/install-guide/chap-install.adoc
+55-1Lines changed: 55 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -789,6 +789,60 @@ At this point you can use OpenDJ directory server, or you can perform additional
789
789
790
790
====
791
791
792
+
[#install-fips]
793
+
.To Install OpenDJ Directory Server on a FIPS 140 Java Runtime
794
+
====
795
+
OpenDJ ships the Bouncy Castle FIPS provider. The `setup` command and the server register it themselves when the server key store is a BCFKS key store (`--useBcfksKeystore`), and the server registers it at start whenever the `org.openidentityplatform.opendj.fips.register` Java system property is `true`, for example through the `OPENDJ_JAVA_ARGS` environment variable. With this provider in its default mode the default configuration works as it is. The approved-only mode of the provider (the `org.bouncycastle.fips.approved_only` Java system property), which OpenDJ does not turn on, is not covered here.
796
+
797
+
The crypto manager wraps the secret keys it shares with the other servers of a replication topology with each server's public key. The transformation it uses, the `key-wrapping-transformation` property of the crypto manager, is `RSA/ECB/OAEPWITHSHA-1ANDMGF1PADDING` by default: RSA-OAEP, the key transport scheme of NIST SP 800-56B, which Bouncy Castle FIPS provides. A Java runtime whose cryptography comes from a `SunPKCS11` provider alone, such as `SunPKCS11-NSS-FIPS` on a Linux system in FIPS mode, provides no RSA-OAEP at all: its only RSA cipher is `RSA/ECB/PKCS1Padding`, which NIST SP 800-131A Rev. 2 disallows for key transport. On such a runtime the server refuses to start with the default transformation, `setup` says so, and the choice of another one is yours to make: OpenDJ does not make it for you. If you make it, keep in mind that every server of a replication topology must use the same transformation, since each server unwraps what the others wrapped.
798
+
799
+
. Install the server without starting it:
800
+
+
801
+
802
+
[source, console]
803
+
----
804
+
$ ./setup --cli --doNotStart \
805
+
--hostname opendj.example.com \
806
+
--ldapPort 1389 \
807
+
--adminConnectorPort 4444 \
808
+
--rootUserDN "cn=Directory Manager" \
809
+
--rootUserPassword password \
810
+
--baseDN dc=example,dc=com \
811
+
--acceptLicense \
812
+
--no-prompt
813
+
----
814
+
815
+
. Set the transformation in the server configuration file, which the `dsconfig` command cannot change while the server is stopped:
0 commit comments