Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OU field displays [] when requesting certificates #16

Open
jmeldrum76 opened this issue Nov 12, 2019 · 1 comment
Open

OU field displays [] when requesting certificates #16

jmeldrum76 opened this issue Nov 12, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@jmeldrum76
Copy link

PROBLEM SUMMARY
OU field displays [] when requesting certificates.

image

STEPS TO REPRODUCE

  1. Install Ansible and vcert using the default instructions from the readme.
  2. Create Credentials.yml file
    Example:
user: 'myuser'
password: 'mypassword'
url: 'https://venafi_server/vedsdk/'
zone: "Demo\\APIs\\Ansible"
trust_bundle: "/home/venafilab/ansible/venafilab_trust_bundle.pem"
  1. Create Sample.yml
---
- hosts: localhost
  roles:
    - role: venafi.ansible_role_venafi
      #certificate_common_name: "{{ ansible_fqdn }}.alex-test.venafi.com"
      certificate_common_name: "testcert2.se.venafi.com"
      certificate_cert_dir: "/tmp/etc/ssl/{{ certificate_common_name }}"
  1. Run playbook
    ansible-playbook sample.yml

EXPECTED RESULTS
I would expect an empty OU field due to no policy default

image

ACTUAL RESULTS
image

ENVIRONMENT DETAILS
vcert=0.6.8
Ansible=0.2.1
Python=2.7.15+
Ubuntu=18.0.4

COMMENTS/WORKAROUNDS
No workaround. I really need to get this fixed. The cannot be use in production with my customer until this is resolved.

@jmeldrum76
Copy link
Author

I did test this again with a value and it appears correctly. The issue is now only with a blank OU field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants