aoki.management.commands.aoki_setup_est_test_env¶
Sets up a Trustpoint test environment for AOKI DevOwnerID EST enrollment testing.
This command re-uses the certificates generated by aoki_gen_test_certs and creates:
- A local issuing CA called DevOwnerIDCA (root + intermediate, RSA-2048).
- A domain DevOwnerIDDomain associated with that CA.
- A device DevOwnerIDDevice in that domain, configured for EST username/password
no-onboarding with password
devownerid123.
A TLS truststore
DevOwnerIDTLSTruststorecontaining the Trustpoint HTTPS server cert.An
OwnerCredentialModel(DevOwnerIDOwnerCred) configured for remote EST enrollment via localhost:443, path /.well-known/est/DevOwnerIDDomain/dev_owner_id/simpleenroll, key type RSA-2048, linked to the TLS truststore above.
Module Contents¶
- aoki.management.commands.aoki_setup_est_test_env.DEVICE_SERIAL_NUMBER = 'DEVOWNERID-EST-001'[source]¶
- aoki.management.commands.aoki_setup_est_test_env.OWNER_CRED_UNIQUE_NAME = 'DevOwnerIDOwnerCred'[source]¶
- aoki.management.commands.aoki_setup_est_test_env.TRUSTSTORE_UNIQUE_NAME = 'DevOwnerIDTLSTruststore'[source]¶
- aoki.management.commands.aoki_setup_est_test_env.REMOTE_PATH = '/.well-known/est/DevOwnerIDDomain/dev_owner_id/simpleenroll'[source]¶
- class aoki.management.commands.aoki_setup_est_test_env.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]¶
Bases:
pki.management.commands.base_commands.CertificateCreationCommandMixin,trustpoint.logger.LoggerMixin,django.core.management.base.BaseCommandCreates a Trustpoint test environment for AOKI DevOwnerID EST enrollment testing.
- help = 'Creates a local issuing CA ("DevOwnerIDCA"), domain ("DevOwnerIDDomain"), and device...[source]¶