mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
Documentation: Add instructions to disable OpenSSL legacy renegotiation
In distributions with newer versions of OpenSSL, when you run Meta/serenity.sh rebuild-toolchain you'll get curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled. This is because OpenSSL was compiled with legacy renegotiation disabled by default. I've added instructions to Documentation/BuildInstructions.md to solve this issue.
This commit is contained in:
parent
50c73d02f0
commit
2c17742811
1 changed files with 17 additions and 0 deletions
|
@ -20,6 +20,23 @@ Ensure your gcc version is >= 12 with `gcc --version`. Otherwise, install it. If
|
||||||
called `gcc` you have to specify the names of your C and C++ compiler when you run cmake, e.g.
|
called `gcc` you have to specify the names of your C and C++ compiler when you run cmake, e.g.
|
||||||
`cmake ../.. -GNinja -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12`.
|
`cmake ../.. -GNinja -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12`.
|
||||||
|
|
||||||
|
### Legacy renegotiation is disabled
|
||||||
|
|
||||||
|
Ensure your `/etc/ssl/openssl.cnf` file has the following options:
|
||||||
|
|
||||||
|
```console
|
||||||
|
[openssl_init]
|
||||||
|
ssl_conf = ssl_sect
|
||||||
|
|
||||||
|
[ssl_sect]
|
||||||
|
system_default = system_default_sect
|
||||||
|
|
||||||
|
[system_default_sect]
|
||||||
|
MinProtocol = TLSv1.2
|
||||||
|
CipherString = DEFAULT@SECLEVEL=1
|
||||||
|
Options = UnsafeLegacyRenegotiation
|
||||||
|
```
|
||||||
|
|
||||||
## Running SerenityOS
|
## Running SerenityOS
|
||||||
|
|
||||||
### The VM is really slow
|
### The VM is really slow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue