Indeed, something like that may work.
The one you proposed cannot be found by apt.
I tried libssl ans some variations but still the same issue.
Is there a way to "log in" the docker container and run a apt search or find out if the package is availbale ?
I feel like I'm walking in the dark ^^
I googled in ubuntu packages to explore libssl/crypto names but without success.
Exploring other apps, like terminal or gallery-app, I noticed that in dependencies they put the -dev pacakge.
I tried libssl-dev with no luck. And libcrypto is part of libssl