Skip to content

Self-signed cert generation errors out on some slots #41

@scarolan

Description

@scarolan

I'm using this on an ESP32 device (M5Stack Core2 for AWS). The error message isn't very specific. Here's what I get trying to use slot 0 and storage slot 8:

Please enter the issue year of the certificate? (2000 - 2031) [2022]:
Please enter the issue month of the certificate? (1 - 12) [1]:
Please enter the issue day of the certificate? (1 - 31) [1]:
Please enter the issue hour of the certificate? (0 - 23) [0]:
Please enter how many years the certificate is valid for? (1 - 31) [1]:
What slot would you like to use for the private key? (0 - 4) [2]: 0
What slot would you like to use for storage? (8 - 15) [8]: 8
Would you like to generate a new private key? (Y/n) [Y]: Y

Error starting self signed cert generation!

I was able to eventually get it working with Slot 2, Slot 8 but the "generate new private key" option never worked for me. I also found that some slot combinations outputs the SHA but not the public cert.

It's been a tough one to troubleshoot because I can only seem to get a working cert about one out of every ten tries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions