Skip to content

Update README.md for OpenSSL issuses #133

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,30 @@ To get the blid and password from the cloud run:
```
Where `<login>` and `<password>` are your iRobot account login and password. Results are displayed and saved to the config file.

## Working around OpenSSL issues
On modern Linux systems you might get OpenSSL errors `UNSAFE_LEGACY_RENEGOTIATION_DISABLED` or `DH_KEY_TOO_SMALL`.
Create an openssl config file:
```
openssl_conf = openssl_init

[openssl_init]
ssl_conf = ssl_sect

[ssl_sect]
system_default = system_default_sect

[system_default_sect]
Options = UnsafeLegacyRenegotiation
MinProtocol = TLSv1
CipherString = DEFAULT:@SECLEVEL=1
```
Then use this config file when e.g. fetching the password:

```
export OPENSSL_CONF=/home/ruben/projects/2024/1225-roomba/openssl.conf
./getpassword.py <ipaddress>
```

## config.ini
By default, all settings are stored in the *config.ini* file. You can change this file if you like (but there is really no need).
An exaple file *config_example.ini* is given to show the structure of the file. It is a standard `ini` file with each section being the ip address of each robot.
Expand Down