# How to add to HTTPS back ends?

**URL:** <https://community.traefik.io/t/how-to-add-to-https-back-ends/9651>\
**Category:** Traefik v2\
**Tags:** file\
**Created:** [February 9, 2021, 8:58pm UTC](https://community.traefik.io/t/how-to-add-to-https-back-ends/9651 "2021-02-09T20:58:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxburn](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@Maxburn](https://community.traefik.io/u/Maxburn)\
**Post date:** [February 9, 2021, 8:58pm UTC](https://community.traefik.io/t/how-to-add-to-https-back-ends/9651/1 "2021-02-09T20:58:39Z")

</div>

I want to switch my back end web apps over to HTTPS using their built in self signed certificates which are in a java keystore. Can anyone suggest changes to my config files or a help article for this situation?

Just getting into this and I have Traefik v2 set up to the point where I can use Let's Encrypt for the public side and regular HTTP for the back end connections. Finding it a little hard on how to search for this change on the back end connection but this is my functioning config at the moment. I commented out letsencrypt as this test machine isn't on the public web to do the challenge.

**toml;**

```auto
defaultEntryPoints = ["http","https"]
	[entryPoints.web]
		address = ":80"
	[entryPoints.web-secure]
		address = ":443"
	[providers.file]
		filename = "./rules.toml"

#[certificatesResolvers.letsencrypt.acme]
#	email = "scottjalbert@harrisisi.com"
#	caServer = "https://acme-staging-v02.api.letsencrypt.org/directory"
#	storage = "acme.json"
#	[certificatesResolvers.letsencrypt.acme.httpChallenge]
# # used during the challenge
# entryPoint = "web"

[log]
	level = "INFO"
	filePath = "C:\\Temp\\traefik_v2.4.2_windows_amd64\\traefik.log"

```

**Rules;**

```auto
[http.routers]

	[http.routers.router0]
		entryPoints = ["web"]
		service = "bas-service"
		rule = "Host(`test.harrisintegration.com`)"
			middlewares = ["redirect"]
	[http.routers.router1]
		entryPoints = ["web-secure"]
		service = "bas-service"
		rule = "Host(`test.harrisintegration.com`)"
			[http.routers.router1.tls]
				#certResolver = "letsencrypt"

		
	[http.routers.router3]
		entryPoints = ["web"]
		service = "bas-service2"
		rule = "Host(`test2.harrisintegration.com`)"
			middlewares = ["redirect"]
	[http.routers.router4]
		entryPoints = ["web-secure"]
		service = "bas-service2"
		rule = "Host(`test2.harrisintegration.com`)"
			[http.routers.router4.tls]
				#certResolver = "letsencrypt"

[http.middlewares]

	[http.middlewares.redirect.redirectScheme]
		scheme = "https"
	
[http.services]

	[http.services.bas-service.loadBalancer]
		[[http.services.bas-service.loadBalancer.servers]]
			#url = "https://165.166.360.360:20007/"
			url = "http://192.168.110.92:80/"

	[http.services.bas-service2.loadBalancer]
		[[http.services.bas-service2.loadBalancer.servers]]
			url = "http://192.168.110.93:80/"

```
