I can see your puma version 6.4.3 which had some issue with openssl version determine logic, if you upgrade to 6.5 might solve your problem, because they fixed some openssl version determining issue.
You can check details from https://github.com/puma/puma/compare/v6.4.3...v6.5.0 here. ext/puma_http11/extconf.rb