awx icon indicating copy to clipboard operation
awx copied to clipboard

Can't clone Mercurial repository with SSL certificates

Open pmontanari opened this issue 9 years ago • 5 comments

ISSUE TYPE
  • Documentation
COMPONENT NAME
  • UI
  • Installer
SUMMARY

My mercurial repository requires a SSL certificate to authenticate. How can I configure it in AWX ?

ENVIRONMENT

pmontanari avatar Oct 04 '17 05:10 pmontanari

do you mean a ssh key to be able to access it through https or ssh? if so then you need to create a a SCM credential.

aoyawale avatar Oct 04 '17 12:10 aoyawale

No, I mean a pem CA to authenticate against the Rhodecode server.

pmontanari avatar Oct 04 '17 13:10 pmontanari

that is more OS than AWX specific. You need to get inside the container, replace the self signed certs with signed certs and update the CA files.

aoyawale avatar Oct 04 '17 13:10 aoyawale

We use the ansible hg module which doesn't really give us an option on how to treat the SSL certificate. There may be another way but I'm not immediately sure.

matburt avatar Oct 05 '17 14:10 matburt

Mercurial support is being removed https://github.com/ansible/awx/pull/8727

And the Ansible hg module was moved into community.general collection, in the default images we will not be including the mercurial software. Users will be able to create their own custom execution environment to do things with it.

AlanCoding avatar Dec 01 '20 19:12 AlanCoding