Overview
What is its Purpose?
- Provides integrity and authentication by verifying WS-Security Signature blocks in SOAP envelopes.
- Increases Production Environment security by blocking calls coming with unauthorized certificates or corrupted signatures.
- Standardizes signature verification processes with centralized KeyStore integration for key management.
- Provides customizable security levels for different workloads through advanced verification options.
Working Principle
- Request Arrival: For each HTTP/HTTPS request arriving at the API Gateway, the source IP address of the request is identified.
- Policy Check: If the WS Security Signature Verification policy is active, the system checks in the following order:
- Is a Condition defined? If so, is the condition met?
- Is the policy active (active=true)?
- Is a Variable used or is Apinizer default?
- WS-Security Signature Verification: Signature element in SOAP message is verified with public key certificate in selected KeyStore; signature removal and mustUnderstand headers are optionally checked.
- Decision Making:
- Match Found: Signature verification is successful, message processing continues.
- No Match: Signature verification fails, error code and message in policy configuration are returned.
- Error Handling: Customizable HTTP status code and error message are returned for requests that do not comply with the policy rule.
Features and Capabilities
Basic Features
- KeyStore Verification: Uses certificates in selected KeyStore source for signature verification operations.
- Advanced Signature Inspection: Provides additional checks to perform deep verification in multiple digital signature variations.
- SOAP MustUnderstand Support: Guarantees mandatory processing of
mustUnderstandmarked WS-Security headers. - Active/Passive Status Control: Easily change the active or passive status of the policy (active/passive toggle). In passive state, the policy is not applied but its configuration is preserved.
- Condition-Based Application: Determine when the policy will be applied by creating complex conditions with Query Builder (e.g., only for specific endpoints or header values).
Advanced Features
- Signature Removal Option: Enables backend services to receive clean content by removing signature blocks from message after verification.
- Case-Insensitive ID Control: Verifies ID values in SOAP signature references in case-insensitive comparison mode.
- Dereference Signature Management: Supports re-resolution of SOAP body in referenced signature removal scenarios.
- Export/Import Feature: Export policy configuration as a ZIP file. Import to different environments (Development, Test, Production). Version control and backup capability.
- Policy Group and Proxy Group Support: Manage multiple policies within Policy Group. Bulk policy assignment to Proxy Groups. Centralized update and deployment operations.
- Deploy and Versioning: Deploy policy changes to live environment. See which API Proxies use it (Policy Usage). Proxy Group and Policy Group usage reports.
Usage Scenarios
Configuring Policy Parameters
At this step, users can create a new policy or configure existing policy parameters to define access rules. The defined parameters directly affect how the policy works (e.g., which IPs will be allowed, geographical restrictions, conditional activations, etc.). This way, the policy can be customized according to organization-specific requirements and managed centrally.Creating a New WS Security Signature Verification Policy

Configuration Steps
For the description of Conditions and Error Message Customization panels, you can review the Conditions and Error Message Customization sections on the What is Policy? page.
For a complete guide on all layers, priority order and scenario examples of the error message configuration system, see the Error Message Configuration Guide page.

