OMS can get its certificate from a certificate authority with EST (Enrollment over Secure Transport), and renew it before it expires.
Note: This article describes OXE Media Services (OMS) 17.03, the OMS version installed with OmniPCX Enterprise R101.2 MD3 (n5.508.1) by OXE Software Server (GAS) 14.11. OMS 17.03 runs on Rocky Linux (BootDVD 9.8.2). It is written from the source code of OMS (tag r_oms_17.03). Other OMS versions go with other OmniPCX Enterprise releases: check the OMS version that matches your release.
Steps
- Import the trust store of the EST server (EST server CTL import, script
EST_CTL_import.sh). Without it, the enrollment stops with est_trust_store.pem file not found and import the est_trust_store.pem using EST Server CTL import and then perform EST simple enrollment. - Simple enrollment (
EST_Simple_Enroll.sh): choose the key size, 2048 or 4096 (Error: Only 2048 or 4096 are allowed.). The result is Simple Enrollment Successful. or Simple Enrollment Not Successful.; EST_ERR_AUTH_FAIL means that the EST server refused the credentials. - Install the new certificate (
EST_Insnewcert.sh), then restart OMS (EST_Reboot.sh).
Automatic renewal
EST_Check_Reenroll.sh reads the expiry date of the certificate. When the remaining validity is below the renewal threshold, it runs the simple re-enrollment (EST_Simple_Reenroll.sh). If the certificate has already expired, it writes The Certificate has been expired. A simple Enrollment need to be performed.
Limits
Important: To be confirmed by R&D. Where the EST settings (server address, credentials, renewal threshold) are entered: in the OmniPCX Enterprise or in omsconfig; whether the scripts are run by hand or by the tools of the Call Server.