# Use SSL certificates from let's encrypt in Keycloak and Spring Boot

**URL:** <https://forum.keycloak.org/t/use-ssl-certificates-from-lets-encrypt-in-keycloak-and-spring-boot/22278>\
**Category:** Miscellanaeous\
**Created:** [May 23, 2023, 1:20pm UTC](https://forum.keycloak.org/t/use-ssl-certificates-from-lets-encrypt-in-keycloak-and-spring-boot/22278 "2023-05-23T13:20:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcbandit](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/rcbandit/32/7189_2.png) [@rcbandit](https://forum.keycloak.org/u/rcbandit)\
**Post date:** [May 23, 2023, 1:20pm UTC](https://forum.keycloak.org/t/use-ssl-certificates-from-lets-encrypt-in-keycloak-and-spring-boot/22278/1 "2023-05-23T13:20:43Z")

</div>

I want to use Let’s encrypt in order to have a valid test certificate but I have some questions. I installed reverse proxy using this tutorial: [How to use nginx as a reverse-proxy with letsencrypt · GitHub](https://gist.github.com/gmolveau/5e5b0bd2773100d85d9302d0fa96632d)

After installation this added the following lines into nginx and the setup is up and running:

```auto
ssl_certificate /etc/letsencrypt/live/api2.example.org/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/api2.example.org/privkey.pem; # managed by Certbot

```

Can I manually copy/paste these certificates and use them with Keycloak server? I need to use a valid SSL certificates also for Spring Boot microservices which will communicate with Keycloak. Do I need to manually import these certificates into JVM keystore or there is no need? If it’s not the proper way how I can implement this?
