I managed to solve the problem by importing the certification to my machine trusted certifications.
Steps:
- Go to the URL (eg.
https://localhost:8443/yourpath
) where the certification is not working. - Export the certification as described in the mentioned post.
- On your windows machine open:
Manage computer certificates
- Go to
Trusted Root Certification Authorities
->Certificates
- Import here your
your_certification_name.cer
file.