HTTPS Certificate¶
FlexKVM encrypts access via HTTPS, supporting three modes: self-signed certificate, custom certificate, and user sub-CA.
Where: Settings → Security → HTTPS

Certificate Mode¶
| Mode | Description |
|---|---|
| self-signed | Auto-generated by the system; enabled by default |
| custom | Uses the imported custom certificate |
| user-ca | Uses the certificate issued by the imported user sub-CA |
The dropdown only lists available modes — custom certificate and user sub-CA must be imported below first, so before importing the dropdown only has self-signed. Below the selector, the remaining validity period of the current certificate is shown (e.g. 348 days remaining).
Self-Signed Certificate¶
Auto-generated on first boot — the device has a built-in CA and issues a separate certificate for each access address (IP/domain). Communication is encrypted, but browsers don't trust the certificate and will show a "Not Secure" warning. Ways to remove the warning:
Download CA Certificate¶
Click "Download CA Certificate", import the issued CA into the system and trust it — the warning disappears. Once trusted, you can also "Add to Home Screen / install as an app" (PWA) to open the console offline.
- Open the device page in Safari (a hostname is recommended, e.g.
https://flexkvm-xxxx.local), go to Settings → Security → HTTPS, and click Download CA Certificate — Safari reports "Profile Downloaded" - Open Settings → General → VPN & Device Management → tap the downloaded certificate profile → Install
- Open Settings → General → About → Certificate Trust Settings → enable full trust for the certificate
- Reopen the device page — the warning is gone; now you can "Add to Home Screen" to install the PWA
Apple devices: access via mDNS hostname
When accessing via IP address, an iPhone/iPad may fail to add the PWA to the Home Screen — use the mDNS hostname (e.g. flexkvm-xxxx.local) instead. See mDNS Discovery for how to find the hostname.
- Double-click the downloaded certificate file, choose "Local Machine" as the store location
- Choose "Place all certificates in the following store" → browse to Trusted Root Certification Authorities
- Finish the import and restart the browser
- Double-click the downloaded certificate to import it into Keychain Access
- Double-click the certificate → expand "Trust" → choose "Always Trust"
# Debian / Ubuntu
sudo cp flexkvm-ca.crt /usr/local/share/ca-certificates/flexkvm-ca.crt
sudo update-ca-certificates
# Fedora / RHEL
sudo cp flexkvm-ca.crt /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust
You can also configure a CA-signed custom certificate. The system re-issues the self-signed certificate automatically once it expires, and falls back to the self-signed certificate if a custom certificate becomes invalid — access is not interrupted.
User Sub-CA¶
Deploying many devices? Importing certificates one by one is tedious. The deployer can issue a sub-CA from their own root CA and upload it via "Import User Sub-CA" — once clients trust the deployer's root CA, every device with that sub-CA is warning-free.

User sub-CA targets fleet deployments. For a single device, "Download CA Certificate" is enough.
Custom Certificate¶
Click "Custom Certificate" and paste the PEM content into the two text boxes:

| Text box | Description |
|---|---|
| Private Key | PEM format RSA or EC private key (starts with -----BEGIN PRIVATE KEY-----) |
| Certificate | PEM format X.509 certificate (starts with -----BEGIN CERTIFICATE-----) |
Certificate in another format (.pfx, .jks)? Convert to PEM using OpenSSL first. The system validates that the certificate and private key match; after a successful import you must still manually select
customin the certificate mode dropdown to activate it (the dropdown lists only imported, usable modes). If a custom certificate expires, the system auto-falls back to the self-signed certificate — access is not interrupted.
Verification¶
| Check | How |
|---|---|
| Browser address bar | Visit https://<device-IP> — look for the 🔒 icon |
| Certificate details | Click 🔒 to verify it's your custom certificate |
| Validity period | HTTPS settings page shows remaining valid time |
| Trust effective | After importing the CA certificate, the browser no longer warns when visiting the device |
Ports¶
| Protocol | Default port |
|---|---|
| HTTP | 80 |
| HTTPS | 443 |
HTTP access is automatically redirected to HTTPS.
Troubleshooting¶
| Symptom | Likely cause | Try this first |
|---|---|---|
| Save says mismatched | Private key and certificate aren't a pair | Verify the private key corresponds to this certificate |
| Browser still warns after saving | Still using self-signed certificate | Confirm you've switched to custom certificate mode |
| Browser still warns after importing CA | Certificate not in the trusted store | Import into the OS/browser "Trusted Root Certification Authorities" store, then restart the browser |
| Browser still warns after importing user sub-CA | Client doesn't trust the deployer's root CA | Trust the deployer's root CA on the client first |
| Format error after pasting | Not PEM format | Convert to PEM with OpenSSL (.pfx and .jks can't be pasted directly) |