Join an organization
certified set-org converts a standalone identity into a managed member of
an existing organization. It replaces your self-signed CA with the
organization's signed certificate and updates trust roots accordingly.
Destructive operation
This command permanently removes your CA private key and signing infrastructure. After running it, you can no longer sign new certificates yourself. Make sure you have a backup if you might need to revert.
Removed:
-
certified/CA.key,certified/CA.crt -
certified/id/(cross-signed identities) -
certified/CA/(CA cross-signatures) -
certified/known_servers/self.crt,certified/known_clients/self.crt
Prerequisites
- You have an existing identity created with
certified init. - Your organization's administrator has run
certified introduceon yourid.crtand sent you an introduction JSON file. - Your existing
id.keymatches the public key insigned_certfrom the introduction file.
Run set-org
certified set-org intro.json --overwrite \
--config $VIRTUAL_ENV/etc/certified
--overwrite is required — it is a deliberate safety gate.
What happens
id.crtis replaced with the org-signed certificate fromsigned_cert.- The org's CA cert (
ca_cert) is written to both: known_clients/org.crt— accept connections from org membersknown_servers/org.crt— trust the org's services- If the JSON includes a
servicesdict,known_servers/<alias>.yamlfiles are created for each entry. - Self-signed infrastructure (CA keys,
id/,CA/,self.crtfiles) is removed.
After joining
Your identity is now a leaf certificate issued by the org CA. You authenticate
to org services using id.key + id.crt (the org-signed cert). You no
longer have a CA.crt to sign new identities.
# Verify the new identity
openssl x509 -text -noout -in $VIRTUAL_ENV/etc/certified/id.crt