Certificates
Certificates holds the material Connectors speak TLS with: trust anchors (public certificates of certificate authorities a Connector is to trust) and identities (a certificate with its private key that a Connector shows — for AWS IoT Core, say, an MQTT broker with client certificates, or as an OPC UA server).
The material does not lie in the Application Center but in this installation's PKI, in the same stock as the certificates the PKI issues itself. The Application Center addresses the PKI with a service identity of its own and may only upload material for Connectors there, list it, and fetch the key of an identity for exactly the Connector it is assigned to. Every fetch is in the PKI's audit trail. No surface ever shows a private key.
The area sits in the menu under Integration, next to the Connectors, and for administrators only. Which Connector uses which material is chosen not here but on the Connector, in the Edit dialog (see Connectors).
The list shows kind, name, subject, expiry and the number of assignments. Above the list you choose the kind and the stock: In stock, Expire within 30 days or Trash.
Uploading
Upload anchor takes a public CA certificate as PEM, as a file or pasted. A private key in the same field is refused.
Upload identity takes either
- PEM: certificate, optionally the chain up to the root, and the private key. A PEM file holding everything together is split when it is picked; files holding one part each can be picked one after the other.
- PKCS#12 (
.p12,.pfx) with its password. The password opens the file in the PKI and is stored nowhere; the field is emptied after every attempt.
The usage — client or server authentication — says what the identity is meant for.
The PKI checks all material before accepting it, and refuses with a sentence that names the reason:
| Check | Refused is |
|---|---|
| Size | more than 32 KiB per PEM field or 36 KiB for a PKCS#12 file |
| Key | a key that does not match the certificate |
| Kind | an identity that is a CA certificate; an anchor that is not one (basicConstraints CA:TRUE) |
| Strength | RSA below 2048 bits, EC weaker than P-256 |
| Signature | SHA-1 or MD5 |
| Validity | expired material, or material not yet valid |
| Usage | an extended key usage that does not fit the chosen usage |
Expiry
When material a Connector uses is about to expire, the Application Center leaves a notice beforehand
— 30 days ahead by default, set with CertificateExpiryNoticeDays — and the Connector shows the
state. Replacing it works like this: upload the successor, assign it on the Connector. A running
Connector takes the new material at once or is restarted for it.
Assignments
The detail page of a certificate shows under Assignments which Connectors use it in which role: trust when checking servers, trust when checking clients, trust when checking user certificates, client certificate or server certificate. A click opens the Connector. Certificates the PKI issues to a Connector itself (source Issued by this installation's PKI) are not in this list: their key stays in the Connector, and they appear at the Connector on its Overview. The same holds for the PKI's Connector authority, which a Connector can trust when checking clients (see Connectors). Under Certificate stand subject, issuer, serial number, thumbprint, validity, the public certificate and the chain.
Trash and deletion
Material goes to the trash first and can be restored from there. Only Delete for good in the trash removes it from the PKI; for an identity, the PKI destroys the private key in doing so. The audit trail stays.
Material Connectors still use does not go to the trash silently. The PKI refuses at first, and the surface names the Connectors concerned. Only a second confirmation ends the assignments; every ended assignment leaves a notice, and the Connector loses the material at once.
Audit trail
Audit trail shows what the PKI recorded about this material: the upload, every fetch of the key (for which Connector), refused fetches, trash, restore and deletion for good. Performed by names who did it: the user who acted in the Application Center, otherwise the service. Key material is never in it.