Skip to content

thadreez/ecs_certificate_request_role

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecs_certificate_request_role

Purpose of role

This role creates a publicly-signed Entrust Datacard certificate.

  • Create a private key.
  • Create a certificate signing request (CSR).
    • Note: Before you can request a certificate, the domain and organization in the CSR must be validated by Entrust Certificate Services. An organization and domain undergo a validation process when signing up for an ECS Enterprise account. Additional domain and organization validations are beyond the scope of this example, but the process can easily be extended via the cloud portal.
  • Create, reissue, or renew your certificates using the Entrust Certificate Services (ECS) API.
    • Note: You must have Entrust Certificate Services (ECS) API credentials.

Requirements

  • Ansible version 2.9
  • PyYAML version 3.11 or higher
  • cryptography version 1.6 or higher

Role Variables

See variables in defaults/main.yml

Dependencies

None

Example Playbook

The command below is an example of how to use the role.

Before running the example you will need to:

1- Update the contents of ./files with your ECS API certificate and key information.
2- Update or override the variables in ./defaults/ as appropriate for the certificate you wish to request and the location you want it.

Navigate to the top level of this role:

Run command "ansible-playbook sample_playbook.yml"

Additional references

License

MIT/BSD

Author Information

This role was created by Taha Hadreez (ECS testing) Copyright (c), Entrust Datacard Corporation, 2019

About

Ansible Galaxy roles to integrate with the Entrust Certificate Services API

Resources

Stars

Watchers

Forks

Packages

No packages published