Set up FIPS mode
This procedure is optional. If your HPE OneView appliance is configured in FIPS mode, you must also configure your external repository.
You have a computer or virtual machine running Linux to generate the required certificates.
-
Generate the required certificates for the Windows web server using OpenSSL that is installed on a computer or virtual machine running Linux.
Obtain and install OpenSSL.
yum install opensslSet
CNtoFQDN. Enter the commandping -a IP_ADDRto get the FQDN of the server.Set
subjectAltNamewith the DNS and IP address of the web server.
openssl genrsa -out key.pem 2048 openssl req -subj "/CN=<FQDN or IP address>/C=US/ST=CA/L=PA/O=HPE/OU=Org" -sha256 -new -key key.pem -out \ certreq.csr -reqexts SAN -config <(cat /etc/pki/tls/openssl.cnf <(printf "\n[SAN]\nsubjectAltName=DNS:<FQDN>,\ IP:<IP address>\nkeyUsage=digitalSignature,keyEncipherment,dataEncipherment\nbasicConstraints=CA:FALSE")) openssl req -x509 -sha256 -key key.pem -out cert.pem -nodes -days 3650 -extensions v3_req -in certreq.csr \ -config <(cat /etc/pki/tls/openssl.cnf <(printf "\n[v3_req]\nsubjectAltName=DNS:<FQDN>,IP:<IP address> \ \nkeyUsage=digitalSignature,keyEncipherment,dataEncipherment\nbasicConstraints=CA:FALSE")) -
Create the
pfxfile that has the public and private key.openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert.pem -
To import the
pfxfile into the IIS web server, perform the following steps:- Open IIS Manager.
- On the home page of IIS Manager, select Server Certificates > Import.
- Select the
pfxfile and enter the password.NOTE:Remember the password that you have entered. You will need the password when you add the web server to HPE OneView.
- Select Default web site from the connections panel, and in the Actions pane, select Bindings.
- Click Add, and from the Type drop-down list, select https. The default port assigned is 443.
- Restart the IIS web server.
- Connect to the web server using a browser. If you used a self-signed certificate, you will see a certificate error. To proceed, accept the certificate exception.
-
To set the Windows server mode to FIPS, perform the following steps:
- Open the
Run application, and enter the
regeditcommand to open the Windows registry key. Enable the FIPS algorithm policy key.key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy REG_DWORD to 1 (decimal) - Verify that FIPS mode is enabled.
Open the Run application and enter the
gpedit.msccommand.The Local Group Policy Editor opens.
In Local Group Policy Editor, select Computer Configuration > Windows Settings > Security settings > Local Policies > Security Options.
Open System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing.
- Select Enabled.
- Restart the OS.
- Open the
Run application, and enter the

