This forms part of 5G-MAG/rt-5gms-application-server#9.
Certificates.json is a simple manifest file which maps certificate identifiers to the filename of the PEM file which holds the public certificate and private key. Relative filenames in the file will be treated as being relative to the Certificates.json file itself.
The make_self_signed_certs.py Python script takes Content Hosting Configuration and Certificates JSON files and creates a self-signed certificate PEM file using the canonicalDomainName and domainNameAlias from the Content Hosting Configuration to fill in the Subject Common Name and subjectAltName extensions respectively. The script places the resulting certificate in the file indicated by the Certificates JSON file. It only creates certificates for those distribution configurations listed in the Content Hosting Configuration.
ContentHostingConfiguration_Big-Buck-Bunny_pull-ingest_https.json is an example Content Hosting Configuration file that create an HTTPS distribution instead of HTTP.
ContentHostingConfiguration_Big-Buck-Bunny_pull-ingest_http_and_https.json is an example Content Hosting Configuration file that create distribution configurations for both HTTP and HTTPS from the same pull-based ingest configuration.
This forms part of 5G-MAG/rt-5gms-application-server#9.
Certificates.json
is a simple manifest file which maps certificate identifiers to the filename of the PEM file which holds the public certificate and private key. Relative filenames in the file will be treated as being relative to theCertificates.json
file itself.make_self_signed_certs.py
Python script takes Content Hosting Configuration and Certificates JSON files and creates a self-signed certificate PEM file using thecanonicalDomainName
anddomainNameAlias
from the Content Hosting Configuration to fill in the Subject Common Name andsubjectAltName
extensions respectively. The script places the resulting certificate in the file indicated by the Certificates JSON file. It only creates certificates for those distribution configurations listed in the Content Hosting Configuration.ContentHostingConfiguration_Big-Buck-Bunny_pull-ingest_https.json
is an example Content Hosting Configuration file that create an HTTPS distribution instead of HTTP.ContentHostingConfiguration_Big-Buck-Bunny_pull-ingest_http_and_https.json
is an example Content Hosting Configuration file that create distribution configurations for both HTTP and HTTPS from the same pull-based ingest configuration.