Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

https://cockpit-project.org/guide/149/https.html


Basically you concatenate all your certs followed by your private key into one file then place it under :

/etc/cockpit/ws-certs.d/
  • Note it must start with certs and end in key

    -----BEGIN CERTIFICATE-----
    MIIDUzCCAjugAwIBAgIJAPXW+CuNYS6QMA0GCSqGSIb3DQEBCwUAMD8xKTAnBgNV
    BAoMIGI0OGE2NGNkNmMwNTQ1YThhZTgxOTEzZDE5YmJjMmRjMRIwEAYDVQQDDAls
    -----BEGIN PRIVATE KEY-----
    MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCyOJ5garOYw0sm
    8TBCDSqQ/H1awGMzDYdB11xuHHsxYS2VepPMzMzryHR137I4dGFLhvdTvJUH8lUS
    -----END PRIVATE KEY-----

Note that it will use the last alphanumeric file ending in cert. It started with 

0-self-signed-ca.pem  0-self-signed.cert

So i just made my cert 

00_site.cert
service cockpit restart


  • No labels