# Unable to find valid certification path to requested target

**URL:** <https://forum.keycloak.org/t/unable-to-find-valid-certification-path-to-requested-target/30298>\
**Category:** Configuring the server\
**Tags:** admin-console\
**Created:** [August 10, 2025, 8:37pm UTC](https://forum.keycloak.org/t/unable-to-find-valid-certification-path-to-requested-target/30298 "2025-08-10T20:37:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkramMahmoud](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@AkramMahmoud](https://forum.keycloak.org/u/AkramMahmoud)\
**Post date:** [August 10, 2025, 8:37pm UTC](https://forum.keycloak.org/t/unable-to-find-valid-certification-path-to-requested-target/30298/1 "2025-08-10T20:37:40Z")

</div>

I want to configure realm EMail to post EMails using a SMTP server. I tested the credentials and SMTP settings outside Keycloak & worked successfully but when tried to test that within realm settings in EMail Tab using Test button got

unable to find valid certification path to requested target error.

I am using Keycloak 26.3.2 on windows 11 ( without a docker container ) & already I configured Keycloak https certificates with a self signed one. Should I buy a commercial certificate to resolve that issue or it is asking about the related SMTP server certificate not Keycloak one?

Thanks
