Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide option to set RSA key size #599

Open
bennypi opened this issue Jul 9, 2024 · 0 comments
Open

Provide option to set RSA key size #599

bennypi opened this issue Jul 9, 2024 · 0 comments

Comments

@bennypi
Copy link

bennypi commented Jul 9, 2024

Environment

  • Operating system (including version):
    • Linux LAPTOP 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
    • Ubuntu 22.04.4 LTS
  • mkcert version (from mkcert -version): v1.4.4
  • Server (where the certificate is loaded): Spring Boot 3.x
  • Client (e.g. browser, CLI tool, or script): AusweisApp 2.2.0 (https://www.ausweisapp.bund.de/download)

What you did

Default installation of mkcert -install and mkcert localhost

What went wrong

The German BSI (Federal Office for Information Security) requires RSA TLS server certificates to use RSA keys of at least 3000 bits length. This leads to problems with Germany's official eID app, which verifies that this requirement is met. From what I can see from the code, mkcert uses 3072 bits for the root cert and 2048 bits for TLS certs, which is incompatible with the new requirement.

I would suggest to either change the default bit lengths or add an option to specify the bit length, both for generating the root cert and TLS certs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant