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

sscg 3.0 #24

Merged
merged 17 commits into from
Jul 21, 2021
Merged

sscg 3.0 #24

merged 17 commits into from
Jul 21, 2021

Conversation

sgallagher
Copy link
Owner

@sgallagher sgallagher commented Jul 21, 2021

Changes for sscg 3.0

New features

  • Support for OpenSSL 3.0
  • Support for outputting named Diffie-Hellman parameter groups
  • Support for CentOS Stream 9

Major version notes

  • SSCG now requires OpenSSL 1.1.0 or later.
  • sscg will now always output DH parameters to a PEM file. It will default to using the ffdhe4096 group.
  • Generated certificate lifetime now defaults to 398 days, rather than ten years to conform to modern browser expectations.

We always use the same value and OpenSSL 3.0 doesn't even accept
it as an argument anymore.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Drop support for OpenSSL < 1.1.0

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Fixes #19

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Since 1.1.0, they have been identical and the former version is now
deprecated in 3.0.0.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
@sgallagher sgallagher added this to the 3.0.0 milestone Jul 21, 2021
Currently, OpenSSL on Ubuntu 18.04 does not properly verify DH
parameters.

See https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1936975
for more details.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Reports invalid groups earlier as well, before the certificates
are created.

Also fixes a bug where failure from the argument parser wasn't
noticed.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
@sgallagher sgallagher changed the title WIP: sscg 3.0 sscg 3.0 Jul 21, 2021
@sgallagher sgallagher merged commit d389c52 into main Jul 21, 2021
@sgallagher sgallagher deleted the openssl3 branch July 21, 2021 18:07
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

Successfully merging this pull request may close these issues.

Only generate parameters approved by current crypto-policy
1 participant