Update of SSL Security Profile Configuration

Updates the configuration of an SSL security profile.

Syntax

void updateSSLSecurityProfileConfiguration(String serverComponentID, ServerComponentVO serverComponent) throws SUPAdminException;

Returns

If successful, returns silently. If unsuccessful, returns SUPAdminException.

Examples

  • Update – updates the configuration of an SSL security profile, including the authentication profile, profile name, and key alias:
    supServerConf.refresh();
    ServerComponentVO scvo = supServerConf
    		.getSSLSecurityProfileConfigurations().iterator().next();
    ServerComponentVO scvo_new = new ServerComponentVO(scvo.getID(), scvo.getType());
    Map<String, String> properties = scvo.getProperties();
    properties.put("sup.security.profile.auth", "domestic");
    properties.put("sup.security.profile.name",
    		"<SSL security profile name>");
    properties.put("sup.security.profile.key.alias",
    		"<SSL security key alias>");
    scvo_new.setProperties(properties);
    supServerConf.updateSSLSecurityProfileConfiguration(scvo_new.getID(), scvo_new);
    supServerConf.commit();