Pure-Storage-Ansible / FlashArray-Collection

Ansible Collection for Pure Storage FlashArray
GNU General Public License v3.0
18 stars 23 forks source link

Creating a CSR with attributes that don't exist in the current cert fails #496

Closed tylergmuir closed 11 months ago

tylergmuir commented 11 months ago

Describe the bug Creating a CSR with attributes that don't exist in the current cert fails.

To Reproduce Steps to reproduce the behavior:

  1. Have an existing certificate without a part of the distinguished name defined (for example "common_name").
  2. Use the purestorage.flasharray.purefa_cert module with state: sign and set the part of the distinguished name from the first step. In this example use common_name: somename.
  3. Review the name in the CSR file that was output and it will be missing what was included in the task.

Expected behavior The new piece of the distinguished name should be added to the CSR.