Hi there,
Does keycloak have below features.
Automated Certificate Management – Automated certificate provisioning and management for IoT devices and gateways.
Internal Private PKI - Customers can generate their own internal private root certificate authority and key, to enable provisioning of self-signed certificates to devices.