+

Search Tips   |   Advanced Search

FIPSCommands (AdminTask)


enableFips

Enable or disables a specified security level.

Target object: None.

Required parameters

Optional parameters

Return values: True (success) or false (fail). If false, a reason for the failure is logged in the System.Out.log.

Examples


getFipsInfo

Return an attributeList with the FIPS setting. The settings are fipsEnabled, fipsLevel and suiteBLevel.

Target object None.

Required parameters

None.

Return value: The getFipsInfo command returns an attributeList with the FIPS setting. For example:If FIPS is disabled, then fipsLevel and suiteBLevel are empty strings. For example:

Security mode Return values from getFipsInfo
Fips not enabled

fipsEnabled=false
fipsLevel=(empty string)
suiteBLevel=(empty string)

FIPS140-2

ipsEnabled=true
fipsLevel=FIPS140-2
suiteBLevel=(empty string)

SP800-131 - Transition

fipsEnabled=true
fipsLevel=transition
suiteBLevel=(empty string)

SP800-131 - Strict

fipsEnabled=true
fipsLevel=SP800-131
suiteBLevel=(empty string)

Suite B 128

fipsEnabled=true
fipsLevel=(empty string)
suiteBLevel=128

Suite B 192

fipsEnabled=true
fipsLevel=(empty string)
suiteBLevel=192

Examples


listCertStatusForSecurityStandard

Return all certificates used by SSL configuration and plug-ins, and states whether they comply with the requested security level.

Target object None.

Required parameters None.

Optional parameters

Return value: An attributeList list that has three keys : CAN_NOT_CONVERT, CAN_CONVERT, and MEET_SECURITY_LEVEL. For each key, a list of attributeList is returned. One attributeList contains certificate information: keystore, managementScope, alias and reason. For example:

{conversionStatus=CAN_NOT_CONVERT
   certificateInfo = { keystore = <keystore name>
                                     managementScope = <managementScope>
                       alias = <certificate alias>
                                     reason = <reason why certificate can not be converted>
                    } ...
{conversionStatus= CAN_CONVERT
  certificateInfo = { keystore = <keystore name>
                                    managementScope = <managementScope>
                      alias = <certificate alias>
                                    reason = empty when certificate can be converted
                                  } ...
{conversionStatus=MEET_SECURITY_LEVEL
 certificateInfo = { keystore = <keystore name>
                                    managementScope = <managementScope>
                      alias = <certificate alias>
                                    reason = empty when certificate already meets security level

Examples


convertCertForSecurityStandard

Convert all certificates used by SSL configuration and plug-ins.

Target object None.

Required parameters None.

Optional parameters

Return value:

{conversionStatus=CAN_NOT_CONVERT
certificateInfo = {keystore = <keystore name>
                                    managementScope = <managementScope>
                      alias = <certificate alias>
                                    reason = <reason why certificate can not be converted>
                } ...
{conversionStatus=MEET_SECURITY_STANDARD
certificateInfo = {keystore = <keystore name>
                                    managementScope = <managementScope>
                      alias = <certificate alias>
                                    reason = empty when certificate meets security standard.
                              } ...

Examples


Related tasks

  • Create self-signed certificates
  • Add a signer certificate to a keystore
  • Use the wsadmin scripting AdminTask object for scripted administration
  • Configure security
  • ManagementScopeCommands (AdminTask)
  • Use wsadmin scripting with Jython