Skip to content

[Bug]: unable to verify the first certificate #796

Closed as not planned
Closed as not planned

Description

@Nu1i

Describe the bug

When accessing an HTTPS website, an error is prompted,“unable to verify the first certificate”

To reproduce

  1. Go to ...
    add a https request and click send button.
  2. Click on send button
  3. Scroll down to response area, it show me "Request failed unable to verify the first certificate"
  4. See error
Image

App Version and Architecture

Image

To solve this problem, please add a feature to skip server certificate verification.

amd64

System info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 5.12 GB / 15.74 GB

Validations

Activity

  1. github-actions commented on May 15, 2026

    @github-actions

    Hello @Nu1i. Please describe in detail the sequence of actions that leads to the bug (skip it if it's already there). Add screenshots of errors from the console. If possible add a video. Issues marked with need reproduction will be closed if they have no activity within 3 days.

  2. antonreshetov commented on May 16, 2026

    @antonreshetov
    Member

    Thanks for the update.

    This is not a confirmed bug. massCode currently uses standard HTTPS certificate verification, and this error usually means the server certificate chain is not trusted by the client.

    Skipping certificate verification would be a new opt-in HTTP client feature, not a bug fix. We use issues only for confirmed bugs, so please open a GitHub Discussion for this feature request.

    If you can provide a public URL with a valid certificate that works in other clients but fails in massCode, we can reopen/reconsider this as a bug

  3. Nu1i commented on May 16, 2026

    @Nu1i
    Author

    Thanks for the update.

    This is not a confirmed bug. massCode currently uses standard HTTPS certificate verification, and this error usually means the server certificate chain is not trusted by the client.

    Skipping certificate verification would be a new opt-in HTTP client feature, not a bug fix. We use issues only for confirmed bugs, so please open a GitHub Discussion for this feature request.

    If you can provide a public URL with a valid certificate that works in other clients but fails in massCode, we can reopen/reconsider this as a bug

    Most of the time, SSL certificates for testing programs are generated temporarily, rather than certificates issued by trusted certificate authorities. As you know, applying for a certificate from a trusted digital certificate authority as a site certificate for testing programs is very expensive. Therefore, most of the time we use self-signed certificates as server site certificates for testing environments. However, the current status of MassCode does not allow access to sites with self-signed certificates. Tools like Postman provide a function to skip certificate verification to avoid the issue of being unable to access sites with self-signed certificates as server site certificates. I sincerely hope this problem can be resolved.

    postman setting
    Image

  4. antonreshetov commented on May 16, 2026

    @antonreshetov
    Member

    That’s right, but it’s not a bug, it’s the feature you want

  5. Nu1i commented on May 17, 2026

    @Nu1i
    Author

    That’s right, but it’s not a bug, it’s the feature you want

    Okay, I understand, but I have a question. When I access this link using Edge and Google Chrome, there are no errors or issues with the certificate not being trusted, but when I send a request using MassCode's HTTP client, it reports an error. The error message is 'unable to verify the first certificate'. the link is "https://svapp.isccc.gov.cn/"

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