+++ title = "Fix for AAP with Github Apps Giving libcrypto Error" # description = "" date = 2026-01-14 # updated = 2026-01-14 #draft = true [taxonomies] tags = [] +++ This is a quick, mostly unedited post that will hopefully save someone some time. ## Context We're moving to Github for code hosting at work. This means I have to move all of my Ansible Automation Platform projects into private repos within our Enterprise account. I've set up two credentials within AAP: a "GitHub App Installation Access Token Lookup" credential, and a "Source Control" credentials that feeds from the token lookup credential. The Source Control credential is then used within playbooks and projects for authentication. While I had previously used the credential successfully within a playbook being run by AAP, using it to pull a project resulted in the following error: ``` Error loading key "/runner/artifacts/1243/ssh_key_data": error in libcrypto ``` ## Fix The fix was surprisingly simple. I made a duplicate of my Source Control credential and cleared the "SCM PRivate Key" and "Private Key Passphrase" fields so that only the normal username and password were still being fed from the token lookup. I don't know why it was causing an error when I was using an HTTPS address rather than an SSH address for the repo. But at least now I have a fix.