Skip to content

Issues Authenticating to Private Registry (Nexus) #465

@hermanmaleiane

Description

@hermanmaleiane

Hope you’re doing well.

I’m facing an issue while trying to run the pod falcon-shra-executor-0.
The problem occurs when I configure my private Nexus registry.

Below is the error log:

time=2025-11-04T13:50:34.031562Z name=registryassessmentexecutor level=Debug legacy_level=[DEBUG] caller=docker/docker.go:1254 msg="Requesting token with credentials" auth_url="Sonatype Nexus Repository Manager"
time=2025-11-04T13:50:34.03168Z name=registryassessmentexecutor level=Debug legacy_level=[DEBUG] caller=docker/docker.go:1304 msg="Attempting token request" auth_url="Sonatype Nexus Repository Manager" method=GET
time=2025-11-04T13:50:34.031936Z name=registryassessmentexecutor level=Error legacy_level=[ERROR] caller=credentials/credentials.go:147 msg="error occurred while validating and storing credentials" registry_host=https://nexus-12:8443 registry_port=8443 error="could not validate standard registry credentials: token request failed: Get \"Sonatype%20Nexus%20Repository%20Manager\": unsupported protocol scheme \"\": registry assessment validation error"
time=2025-11-04T13:50:34.033038Z name=registryassessmentexecutor level=Error legacy_level=[ERROR] caller=./main.go:41 msg="existing main" error="could not validate standard registry credentials: token request failed: Get \"Sonatype%20Nexus%20Repository%20Manager\": unsupported protocol scheme \"\": registry assessment validation error"

I’ve confirmed that I can successfully log in to the Nexus registry using the following commands:

DOCKER_USERNAME=NEXUS_USERNAME
DDOCKER_PASSWORD='NEXUS_PASSWORD
REGISTRY=nexus-12:8443

echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME $REGISTRY --password-stdin

My kubernetes secret

kubectl create secret docker-registry nexus-regcred --docker-server='nexus-12:8443' --docker-username='NEXUS_USERNAME' --docker-password='NEXUS_PASSWORD' -n falcon-shra

Is there anything I might be missing in the configuration?

This is what im trying to achieve
https://falcon.crowdstrike.com/documentation/page/ad2d4792/shra-deploy-via-helm-chart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions