[GH-ISSUE #253] net::ERR_SSL_KEY_USAGE_INCOMPATIBLE #163

Closed
opened 2026-02-25 22:32:46 +03:00 by kerem · 3 comments
Owner

Originally created by @romanpastu on GitHub (Apr 1, 2020).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/253

When trying to make a Post request to localhost using chrome with axios in React, (Windows) I receive the above error.

When trying to make the same Post with postman, it works fine

Originally created by @romanpastu on GitHub (Apr 1, 2020). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/253 When trying to make a Post request to localhost using chrome with axios in React, (Windows) I receive the above error. When trying to make the same Post with postman, it works fine
kerem 2026-02-25 22:32:46 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@kaleidawave commented on GitHub (Oct 11, 2020):

Also having this issue:
image

<!-- gh-comment-id:706697136 --> @kaleidawave commented on GitHub (Oct 11, 2020): Also having this issue: ![image](https://user-images.githubusercontent.com/26967284/95678506-05480180-0bc5-11eb-868f-36eef0e6c520.png)
Author
Owner

@deidyomega commented on GitHub (Oct 19, 2020):

Im having the same issue

We are to use rootCA.pem on the server right?

<!-- gh-comment-id:711468568 --> @deidyomega commented on GitHub (Oct 19, 2020): Im having the same issue We are to use rootCA.pem on the server right?
Author
Owner

@FiloSottile commented on GitHub (Oct 25, 2020):

If you are seeing this error, it means you are trying to use the root CA directly. You are NOT supposed to use rootCA.pem directly. Instead, generate a certificate for localhost or example.com with mkcert localhost or mkcert example.com and use that.

<!-- gh-comment-id:716201877 --> @FiloSottile commented on GitHub (Oct 25, 2020): If you are seeing this error, it means you are trying to use the root CA directly. You are NOT supposed to use `rootCA.pem` directly. Instead, generate a certificate for `localhost` or `example.com` with `mkcert localhost` or `mkcert example.com` and use that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#163
No description provided.