PKI
The PKI page is the one place for certificates in OADM. Its certificate authorities (CA) give your devices certificates for HTTPS and IEEE 802.1X. Devices with such a certificate show Trusted in the device list.
Open PKI in the navigation (group Security). The page has four tabs:
- Certificates: the CAs and every certificate OADM uses.
- Policies: the rules. Which certificate a device gets, which certificates get onto the network, when a certificate shows as expiring.
- 802.1X server: OADM as the RADIUS server of your switches (OADM PRO).
- EST server: cameras get and renew their certificates by themselves (OADM PRO).
You see a server’s tab when your role may see that server, and the Policies tab when you have access to all devices.
How it fits together
Section titled “How it fits together”Two sides work together, and each has its own policies:
| Side | What it is | Set in |
|---|---|---|
| The cameras’ certificates | Each camera gets its own certificate for HTTPS or IEEE 802.1X. The issuing policy decides which CA signs it, how long it lasts and the key. | Policies: HTTPS certificate, IEEE 802.1X certificate |
| The servers’ certificates | The 802.1X server and the EST server each show one certificate to the cameras, so the cameras know they talk to the right server. | Policies: 802.1X server, EST server |
| Who gets in | The 802.1X server lets a camera onto the network only with a certificate of a CA you trust. The EST server lets a camera sign in only with a certificate of a CA you allow. | Policies: 802.1X trusted CA, EST sign-in CA, Enrollment, VLAN, Block |
A camera with IEEE 802.1X also has to trust the RADIUS server. The RADIUS server CA of the IEEE 802.1X certificate policy is the CA the camera checks the RADIUS server’s certificate with. With OADM’s 802.1X server this is the CA that issued the 802.1X server’s certificate. With another RADIUS server it is the CA of that server.
What needs OADM PRO
Section titled “What needs OADM PRO”| Works without a license | Needs OADM PRO |
|---|---|
| The CAs and the Certificates tab | The 802.1X server |
| Enable HTTPS, Enable IEEE 802.1X, Renew certificates and the other tasks of the Security menu | The EST server and the EST - Certificate Enrollment task |
| The policies HTTPS certificate, IEEE 802.1X certificate and Expiry warning | The server, 802.1X access and EST enrollment policies |
Without OADM PRO the Policies tab shows only the policies OADM itself uses; the others stay stored and come back with a license or the 30-day trial. Start the trial on the off page of the 802.1X or EST server, or under Settings > License.
Certificates
Section titled “Certificates”
The tab has two lists, one above the other. Drag the bar between them to give one more room.
Certificate authorities
Section titled “Certificate authorities”On the first start OADM creates a root CA named “OADM Root CA” plus the server’s name, valid for 10 years, with an RSA 4096 key. The built-in policies use it. It is a CA like any other: you can replace it in the policies and delete it.
Each row shows the name, Root CA or Intermediate CA, the issuer, the key and the date it is valid until. A CA without its key shows No key and cannot issue certificates. Used in names the policies that use a CA (point at it to see all). A root CA shows OS root store: server and OS root store: client once it is in the trusted root store of the server’s computer and of your computer. The list also holds the CAs of the Axis device ID, the certificate Axis puts into every camera with AXIS Edge Vault.
Create CA makes a new CA:
- Name: the name devices and browsers show for the CA.
- Type: Root CA (self-signed) or Intermediate CA. An intermediate CA needs Signed by: a CA of the list with its key. It ends at the latest with that CA.
- Key: RSA 4096 (preset), ECC P-256, RSA 2048 or RSA 3072.
- Valid (years): 1 to 30.
A new CA can issue at once: choose it as Issued by in a policy. Certificates of an intermediate CA go to the cameras with the CAs above it. Where a camera refuses that, it gets the certificate alone.
Open a row’s actions with ⋯ or a right click:
- View shows the certificate.
- Export saves the CA certificate as PEM (.crt) or DER (.cer).
- Install in trusted root store (root CAs) adds the CA to the operating system of the server and of your computer, so browsers and other programs trust your devices. OADM shows the CA’s fingerprint to confirm first. On your computer the system may ask for administrator rights.
- Back up (CAs with their key) saves the CA with its key as a file with a password of at least 8 characters.
- Delete (red) takes the CA out of the list. The certificates it issued stay in the list. A CA that a policy uses, or that signed another CA in the list, cannot be deleted: change the policy or delete that CA first.
A CA whose stored data cannot be read shows Cannot be read and offers only Delete.
Import adds a CA to the list. It never replaces another CA.
- CA certificate: a root or intermediate certificate without its key. Use it to trust devices with its certificates on the network (802.1X trusted CA), or as the RADIUS server CA of another RADIUS server.
- CA with its key: a .pfx or .p12 file with its password, or a PEM certificate with its key. A CA backup of another OADM server works too. The CA can then issue certificates: choose it as Issued by in a policy. OADM keeps its key encrypted, and the server backup holds it. An intermediate CA keeps the certificates above it from the file.
Certificates
Section titled “Certificates”Every certificate OADM uses now: the servers’ certificates, the certificates created, signed or imported here, and the current certificate of each camera for each use. Each row shows the name, its type as badges (HTTPS, IEEE 802.1X, Server, Signed, Imported), the issuer, the key and the date it is valid until. Expires in 12 days or Expired next to the date says that it needs attention.
- Group by sorts the rows into groups by type, by the CA that issued them, or none. Filter by state and by the CA that issued them. Search finds text in every column, also a serial number.
- Create: OADM makes a key and a certificate. Choose the Use (HTTPS or IEEE 802.1X), the issuing Policy, a Name and the Addresses (host names and IP addresses). You save it as a .p12 file with a password of at least 8 characters. OADM keeps the key encrypted; the server backup holds it. This is how you make a new certificate for the 802.1X or EST server.
- Sign request: signs the certificate request (.csr, PEM or DER) of another system with an issuing policy. Its key stays on that system.
- Import: a certificate (.crt, .cer, .pem), or a .pfx or .p12 file with its password.
- Each row’s ⋯: View, Export (PEM, DER, and With its key (.p12) where OADM holds the key; never a CA key or a camera’s key), then in red Delete. With several rows chosen, the menu deletes all of them.
Delete removes a certificate from the list. A still valid certificate from a CA of OADM then no longer gets a camera onto the network through OADM’s 802.1X server, and the camera cannot use it to renew (“Certificate deleted in OADM”). The camera gets a new one with Enable IEEE 802.1X, Renew certificates or EST - Certificate Enrollment. A certificate that the 802.1X or EST server shows cannot be deleted: choose another one in the server’s policy first.
Current and new certificates
Section titled “Current and new certificates”The list shows the certificate each camera uses now, not the history. When a camera gets a new certificate, the old one stays valid until the camera has the new one installed. Then OADM no longer accepts the old one (“Certificate replaced by a newer certificate”). A new IEEE 802.1X certificate from the EST server counts as installed once the camera signs in to OADM’s 802.1X server with it; with another RADIUS server the old certificate stays valid.
A camera removed from OADM leaves the list. Its certificates stay valid. Added again, its certificates come back.
Policies
Section titled “Policies”
The Policies tab is one table, grouped into Issuing policies, Server policies, 802.1X access policies, EST enrollment policies and Expiry warnings. Each row shows the name, the type and a summary sentence that says what the policy does, for example “The 802.1X server puts these devices in VLAN 30.” N policies applied on the 802.1X or EST server tab opens this tab and highlights that server’s policies for a few seconds.
- Built-in marks the policies OADM needs. You can change their values but not delete them.
- A red dot before a name says that the policy has a problem, for example a CA that can no longer issue. Point at it to read why.
- Search policies finds a name, type or summary.
- Create opens a panel on the right with every type of policy and what it does. Choose one and click Next.
- Click a row to open the policy in the same panel. Save stores it and closes the panel. Cancel or the close button asks first when you changed something (Discard changes). Delete (red) sits on the left; the built-in policies have none.
A server holds up to 200 policies. Changes apply at once. When another user changed the same policy, saving says “Changed by someone else. Reload.”
The kinds of policies
Section titled “The kinds of policies”| Kind | Fields | Devices |
|---|---|---|
| HTTPS certificate | Issued by (a CA with its key), Valid (days) (1 to 3,650), Key (ECC P-256 or RSA 2048, made on the camera). Used by Enable HTTPS, Renew certificates and the EST profiles for HTTPS and RTSPS. | no |
| IEEE 802.1X certificate | The same, plus EAPOL version (1, 2 or 3), EAP identity and RADIUS server CA. Used by Enable IEEE 802.1X, Renew certificates, Install certificates and the EST profiles for IEEE 802.1X and MQTT. | no |
| 802.1X server | Certificate (one of the Certificates tab with an ECC key), Minimum TLS version (1.0 to 1.3), Largest EAP packet (500 to 1,400 bytes) and Reauthentication (Switch decides, or every 10 to 1,440 minutes). One only. | no |
| EST server | Certificate (one of the Certificates tab). One only. | no |
| 802.1X trusted CA | CA, and whether only devices OADM manages get in (default) or any device with a valid certificate of it. | no |
| VLAN | VLAN ID (1 to 4094). The 802.1X server puts the devices in this VLAN. | yes |
| Block | The 802.1X server refuses the devices, also with a valid certificate. | yes |
| Enrollment | The EST profiles the devices may use: all, chosen ones, or none. The EST server refuses a camera no Enrollment policy holds. | yes |
| EST sign-in CA | CA (the Axis device ID or a CA created in OADM) and For new certificates or renewals. Cameras may sign in to the EST server with certificates of this CA. New certificates lets them renew too. | no |
| Expiry warning | Days before the end (1 to 365). The certificates of the devices show Expires soon this many days before their end. | yes |
The EAP identity is the name a camera gives the switch before its certificate: MAC address, Host name, IP address, Last octet of the IP address or a custom text. OADM’s 802.1X server shows it and checks the certificate, never the name. Another RADIUS server may need a certain form.
Devices: All devices, or Choose devices opens the device picker with sites, tags and single devices. All devices also holds devices of sites added later; for the 802.1X policies it also holds devices OADM does not manage.
The built-in policies
Section titled “The built-in policies”A new server starts with these:
| Policy | Kind | Values |
|---|---|---|
| HTTPS | HTTPS certificate | OADM Root CA, 365 days, ECC P-256 |
| IEEE 802.1X | IEEE 802.1X certificate | OADM Root CA, 365 days, ECC P-256, EAPOL version 2, the IP address as EAP identity, RADIUS server CA OADM Root CA |
| 802.1X server | 802.1X server | the shared certificate (see below), TLS 1.2, 1,020 bytes, Switch decides |
| EST server | EST server | the shared certificate |
| All devices | Expiry warning | 30 days |
| All devices | Enrollment | every profile |
And these, which you can delete:
| Policy | Kind | Values |
|---|---|---|
| OADM Root CA and the server’s name | 802.1X trusted CA | only devices OADM manages |
| Axis device ID | 802.1X trusted CA | only devices OADM manages |
| Axis device ID | EST sign-in CA | for new certificates |
| OADM Root CA and the server’s name | EST sign-in CA | for renewals |
A server updated from OADM 4.1 keeps what its cameras got before: HTTPS and IEEE 802.1X keep an RSA key, IEEE 802.1X keeps its EAPOL version and EAP identity, and each CA it replaced stays as an ordinary CA with its own 802.1X trusted CA policy. For cameras before AXIS OS 12 or 10.1, see Supported AXIS OS.
When a device is in two policies
Section titled “When a device is in two policies”- A device can be in only one policy of each kind. Saving names a device that is in two: “10.0.0.48 is in Building B and PTZ.” Each CA can be in one 802.1X trusted CA policy and one EST sign-in CA policy.
- When a later tag or site change puts a device in two policies, both rows show the red dot and the safer one applies: Block over VLAN, the older of two VLAN policies, the longer of two expiry warnings. Of two Enrollment policies a camera may use only the profiles both allow.
- A device without a VLAN policy gets no VLAN from OADM: the switch port keeps its own.
- The days of the expiry warning also count for the device list’s Certificate expires column, the events Certificate expires soon and Certificate expired (Event rules) and new checks on the Compliance page.
Server certificates
Section titled “Server certificates”
The 802.1X server and the EST server each show the certificate their policy names. When OADM PRO becomes active (a license or the trial) or when you turn a server on, OADM makes one certificate for both: 802.1X and EST server, from OADM Root CA, with an ECC P-256 key, valid for 10 years. It names the server’s computer and its addresses and, while the EST server runs, the addresses of your site nodes. The policy’s Certificate field shows the names below it.
This certificate never renews itself. The Expiry warning and the server’s status remind you. To use another one:
- On the Certificates tab click Create. Choose HTTPS as Use, an HTTPS certificate policy with an ECC key, a name and every address the cameras reach the server on (at sites: the site node’s address).
- On the Policies tab open 802.1X server or EST server, choose the new certificate under Certificate and click Save.
The servers use the new certificate at once. Cameras with IEEE 802.1X check the 802.1X server’s certificate with their RADIUS server CA: a certificate from another CA needs that CA on the cameras first (see Move to a new CA).
Typical tasks
Section titled “Typical tasks”Turn on HTTPS on cameras
Section titled “Turn on HTTPS on cameras”- Select the cameras on the Devices page, for example all of one site. Right-click and open Security > Enable HTTPS.
- Choose the HTTPS certificate policy and click Enable. Each camera gets its own certificate.
- Optional: in the CA list choose Install in trusted root store on the CA of the policy, so browsers on the server and on your computer trust the cameras.
Turn on IEEE 802.1X with OADM’s 802.1X server (OADM PRO)
Section titled “Turn on IEEE 802.1X with OADM’s 802.1X server (OADM PRO)”- Turn on the 802.1X server and add your switches with their shared secret.
- Check the IEEE 802.1X policy: RADIUS server CA is the CA the hint below it names.
- While 802.1X is still off on the switch ports, select the cameras, right-click and run Security > Enable IEEE 802.1X with that policy.
- Turn on 802.1X on the switch ports. The Sessions list of the 802.1X server shows each camera that signs in.
Turn on IEEE 802.1X with another RADIUS server
Section titled “Turn on IEEE 802.1X with another RADIUS server”- On the Certificates tab click Import > CA certificate and choose the CA certificate of your RADIUS server’s certificate.
- Create an IEEE 802.1X certificate policy (or change the built-in one): choose that CA as RADIUS server CA and the EAP identity your RADIUS server expects.
- Make your RADIUS server trust the CA of the policy’s Issued by: export it from the CA list (⋯ > Export).
- Run Enable IEEE 802.1X with that policy while 802.1X is off on the switch ports, then turn it on there.
Let cameras renew by themselves (OADM PRO)
Section titled “Let cameras renew by themselves (OADM PRO)”Turn on the EST server and run Security > EST - Certificate Enrollment on the cameras. They renew their certificates halfway through the validity, without a task.
Renew certificates
Section titled “Renew certificates”Without the EST server, run Security > Renew certificates on the cameras before their certificates end. The expiry warning and the event Certificate expires soon tell you when.
Move to a new CA
Section titled “Move to a new CA”- Click Create CA and fill in the dialog.
- With the 802.1X server: add an 802.1X trusted CA policy for the new CA. Create a certificate for the 802.1X and EST server from the new CA (see Server certificates) and choose it in their policies before cameras get the new CA.
- Choose the new CA as Issued by in the issuing policies, and as RADIUS server CA where it applies.
- Run Renew certificates (or Enable HTTPS and Enable IEEE 802.1X) on the cameras.
- Once no camera needs the old CA, change or delete the policies that still name it, then delete it.
The old CA stays in the list until you delete it, so cameras keep working until they are renewed.
Use the certificates on devices
Section titled “Use the certificates on devices”The certificate tasks are in the Security group of the Devices page’s context menu: see Certificates.
A camera’s new HTTPS certificate does not show Certificate changed when a CA of the PKI page issued it directly for the same camera. Any other new certificate still does.
Good to know
Section titled “Good to know”- Everything on the PKI page except viewing it needs the permission Manage the certificate authority and access to all devices (administrators have both). Operators can run the Security tasks on devices.
- Users limited to a device group see the certificates of their devices only, and no Policies tab.
- Every change is written to the audit log.