Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Ability to use HTTPS URL with self-signed certificate #77

Open

Description

@n8felton

I'm looking for an option to use a HTTPS URL with a self-signed certificate.

The solution could either ignore SSL warnings all together, or an option to provide a CA bundle to trust.

I was unable to figure out a way to do this with axios_config.

The URL I'm attempting to use is at https://gdmf.apple.com/v2/pmv.

Activity

  1. moved this to 📋 Backlog in @n8felton's backlogon Nov 4, 2022
  2. idan commented on Nov 30, 2023

    @idan
    Contributor

    Hi @n8felton!

    A little bit of digging around suggests that adding this key to the axios config string should disable selfsigned cert checks:

    httpsAgent: new https.Agent({
      rejectUnauthorized: false
    })
    

    I'm not sure how you'd supply your own cert bundle but I suspect it's possible, if you check it into the repo maybe:

    httpsAgent: new https.Agent({ ca: MY_CA_BUNDLE });
    

    Hopefully that leads to some success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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