Why Ansible Automation Platform 2.x installer fails at "Generate root CA key" task?

Solution Verified - Updated -


  • Failed to install Ansible Automation platform 2.x at Generate root CA key task.

    TASK [ansible.automation_platform_installer.certificate_authority : Generate root CA key] *** fatal: [XXXX]: FAILED! => {"changed": false, "module_stderr": "Shared connection to XXXX closed.\r\n", "module_stdout": "/usr/lib/python3.6/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.\r\n from cryptography import x509\r\nTraceback (most recent call last):\r\n <snip> File \"/usr/lib/python3.6/site-packages/OpenSSL/crypto.py\", line 1573, in X509StoreFlags\r\n CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK\r\nAttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}


  • Ansible Automation Platform 2.x
  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content