Hi all,
I have some problems with awxkit after some changes in the k8s configuration (SSL has been added). Previously it was working fine, but now it’s not.
awx --conf.host https://my-domain.com --conf.username user–conf.password pass --conf.insecure export
I am getting the following error:
This endpoint raised an error: /api/v2/users/
This endpoint raised an error: /api/v2/organizations/
This endpoint raised an error: /api/v2/teams/
This endpoint raised an error: /api/v2/credential_types/
This endpoint raised an error: /api/v2/credentials/
This endpoint raised an error: /api/v2/notification_templates/
This endpoint raised an error: /api/v2/projects/
This endpoint raised an error: /api/v2/inventories/
This endpoint raised an error: /api/v2/inventory_sources/
This endpoint raised an error: /api/v2/job_templates/
This endpoint raised an error: /api/v2/workflow_job_templates/
This endpoint raised an error: /api/v2/execution_environments/
This endpoint raised an error: /api/v2/applications/
This endpoint raised an error: /api/v2/schedules/
{
"users": null,
"organizations": null,
"teams": null,
"credential_types": null,
"credentials": null,
"notification_templates": null,
"projects": null,
"inventory": null,
"inventory_sources": null,
"job_templates": null,
"workflow_job_templates": null,
"execution_environments": null,
"applications": null,
"schedules": null
}
Without ‘conf.insecure’:
Could not establish a secure connection.
Please add your server to your certificate authority.
You can also run this command by specifying -k or --conf.insecure
HTTPSConnectionPool(host='my-domain', port=443): Max retries exceeded with url: /api/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))
I have also testing the environment (without access over https) where the mentioned commands work fine.
awxkit version - 23.2.0
Any ideas?