https://github.com/aria2/aria2/issues/361
... and also make sure that aria2 was built with HTTPS support.Run aria2c -v and check Libraries:. If you don't see "GnuTLS" or "OpenSSL", then aria2 was not built with HTTPS.
aria2c -v
Libraries: