After very active googling it looks like the issue is version of OpenSSL. My Wordpress etc are on VPS that has Ubuntu 20.04 with OpenSSL 1.1.1f and that is the latest possible, But Discourse is under 22.04 and that uses OpenSSL 3.something.
So my headache is server where is Wordpress, not Discourse.
Well, I should move to newer Ubuntu. Yeah, and now we are deep in reason why I dislike all linuxes so much: I must move dozens plain Worpresses, one Woocommerce, two Moodles, Postfix, Varnish plus its addons, rebuild LAMP but with MariaDB, rebuild stack Nginx-Varnish-Apache, tune up crons, etc. Last time when I did that it took three days, and I’m not talking about working days…
Well, it’s my problem and mine only. I know that. And now I have to make a decission: do my users really need ability to login to forum using OpenID using Wordpress as provider.
Edit:
I did do-release-upgrade
and after short testing it looks working. Things has been changed on DigitalOcean because when I tried 18 → 20 it was total catastroph.
But nothing changed, though.
- OpenID can’t fetch discovery, but curl sees it
- OAuth gives still that SSL error
- DiscourseConnect is not an option, because it hijacks everything
i give up. This is not my cup of tea
Edit
God I’m stupid Because direct link and curl to discovery json worked I was so totallly sure the error must be on Discourse’s end. Now I checked logs of Nginx on wordpress-server and everytime when discovery was requested Nginx gave error 444 — except if that was made by me. After that solution was really easy: remove Faraday from my bad bot list.
I don’t know. This topic should be deleted, because it is not Discourse related. But sure — it can give a hint to someone, that think bit wider.