Hello Lindsay,
thank you for your answer. I tried to use these parameters with values from the docs
TLS cipher suites supported by Office 365, but the error
persisted without any changes.
Fortunately, I found the article that point me to the version AdoptOpenJDK version 1.8.0_265. With this version it works correctly without any further configuration.
Regards,
Milan