Can you share the full stack trace? Is this related to database connectivity (e.g. commands initdb and syncdb) or downloading files (e.g. commands snapshot and incremental)?
Can you share what aiohttp version you have? There was a recent release on Jan 29 that you can upgrade to with pip, which might deliver a solution out of the box.
curl and Python requests integrate with OpenSSL in a different way than does aiohttp. The library aiohttp is responsible for all (asynchronous) HTTPS communication with web servers, e.g. DAP API or S3 buckets.
Depending on your database server configuration, the database connection might also use OpenSSL. Do you have a PostgreSQL or MySQL database server?