by Zbigniew Misiak.
Hi Jason,
Thanks a lot for your assistance.
Problem solved - it turned out that portal application had SSL certificate issued for name, not IP and this caused the problems. With new certificate CAS-Moodle SSO works perfectly.
Best regards,
Zbigniew