Skip to content

Instantly share code, notes, and snippets.

@lemon-li
Created February 27, 2021 10:39
Show Gist options
  • Save lemon-li/5b6d69ce67aa23fa98352f0e4f5e4257 to your computer and use it in GitHub Desktop.
Save lemon-li/5b6d69ce67aa23fa98352f0e4f5e4257 to your computer and use it in GitHub Desktop.
Switch OpenSSL TLS security level from 2 to 1
RUN sed 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/' /etc/ssl/openssl.cnf > /etc/ssl/openssl.cnf.changed \
&& mv /etc/ssl/openssl.cnf.changed /etc/ssl/openssl.cnf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment