Are you sure that URLs are correct? They should be like
com/mojang/authlib/yggdrasil/YggdrasilMinecraftSessionService.class
https://master.ttyh.ru/index.php?act=profile/
https://master.ttyh.ru/index.php?act=join
https://master.ttyh.ru/index.php?act=hasJoined
https://master.ttyh.ru/index.php?act=
com/mojang/authlib/yggdrasil/YggdrasilUserAuthentication.class
https://master.ttyh.ru/index.php?act=authenticate
https://master.ttyh.ru/index.php?act=refresh
https://master.ttyh.ru/index.php?act=validate
https://master.ttyh.ru/index.php?act=invalidate
https://master.ttyh.ru/index.php?act=signout
https://master.ttyh.ru/index.php?act=
If so, than yes, it is SSL problem probably.
Ensure that your certificate is trusted by jvm.
P.S. Please stop crossposting.
Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0