Harden WSO2 Micro Integrator in four steps: replace the default keystores and enforce TLS, keep secrets in a vault or Kubernetes secrets, secure the management API with authentication and network limits, and run a recurring audit check. The list below is a baseline for regulated environments built from the vendor's security pages and general practice.
It supports our WSO2 Micro Integrator service. For product-specific vulnerabilities, see the API Manager vulnerability guide. Vendor references: keystores, encrypting plain text and securing the management API.
Transport and keystore setup
- Replace the sample keystore and truststore with ones issued by your certificate authority.
- Use separate keystores for server identity, client calls and signing. Keep private keys out of the image.
- Enforce TLS 1.2 or higher on every listener and outbound call. Disable weak protocols and ciphers.
- Use mutual TLS for system-to-system calls where the contract needs it.
- Track certificate expiry with an alert at 60 and 30 days.
- Check that hostname verification is on for outbound endpoints.
Secret handling
| Secret | Do | Do not |
|---|---|---|
| Database and backend passwords | Use the secure vault or Kubernetes secrets, as the vendor documents | Put them in plain text in deployment.toml or artifacts |
| Keystore passwords | Inject at start from a secret store | Bake them into an image |
| API keys and tokens | Pull from a vault at run time; rotate | Commit them to Git |
| Vault master key | Store separately from the encrypted values | Keep both in one repository |
- Scan Git history and images for secrets in the pipeline.
- Rotate on staff change and on any suspected leak, and test that rotation works without downtime.
Management API access
The management API can inspect and change a running server, so treat it as an administrative interface.
- Keep authentication and authorization on. The vendor documents JWT-based authentication and authorization for it.
- Do not publish it through the public gateway or an ingress.
- Restrict it by network policy to operator and monitoring networks.
- Limit CORS to named origins, or off.
- Give operators individual accounts and a defined role, not a shared password.
- Log every call to it and alert on changes outside a change window.
Audit checks
| Check | How often | Evidence |
|---|---|---|
| Default keystores and passwords removed | Each release | Config diff |
| Open ports match the design | Quarterly | Port scan or network policy listing |
| Management API unreachable from application networks | Quarterly | Test from a non-operator network |
| No secrets in artifacts or images | Each build | Scanner report |
| Product and dependency updates applied | Monthly | Patch log |
| Access list reviewed | Quarterly | Signed review |
| Logs retained and searchable | Quarterly | Sample query |
Keep security-relevant logs for the period your regulator and policy require. For the deployment side, see Micro Integrator on Kubernetes.
Regulated-run additions
- Separate duties: the person who changes artifacts is not the person who approves the release.
- Record each production change with a ticket, a reviewer and a rollback step.
- Test restore and failover on a schedule and keep the result.
- Document third-party and open source components for your vendor risk team.
Hardening order of work
- Remove defaults: keystores, sample users, sample artifacts.
- Close the management API to non-operator networks.
- Move secrets out of configuration and artifacts.
- Turn on and test TLS settings for every listener.
- Add logging and alerts for security events.
- Run the audit table and fix findings by risk.
- Schedule the next review.
Do the first two steps within the first week of any new environment. They need little effort and remove the most common findings in assessments.
What to hand to your assessor
- Configuration files with secrets removed.
- Network policy or firewall rules for each port.
- The audit check results with dates.
- The list of software components and versions.
- Your patch and incident records.
Common findings in reviews
- Sample keystores still in use.
- Management API reachable from application networks.
- Passwords in plain text in configuration.
- Wire logs left on in production.
- Old, unpatched releases running because upgrade order was unclear.
- No record of who changed what.
Upgrade order and release currency matter too: see the upgrade order on the API Manager page.
Keeping hardening from drifting
Hardening decays when teams change configuration under pressure. Keep configuration in Git, deploy it from the pipeline, and run the audit checks as a scheduled job that opens a ticket on failure. Treat an emergency change as a normal change with the paperwork done afterward, and review each one at the next meeting.




