# HTTP in admin console urls instead of HTTPS

**URL:** <https://forum.keycloak.org/t/http-in-admin-console-urls-instead-of-https/8722>\
**Category:** Configuring the server\
**Tags:** admin-console\
**Created:** [April 26, 2021, 12:41am UTC](https://forum.keycloak.org/t/http-in-admin-console-urls-instead-of-https/8722 "2021-04-26T00:41:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeppelinux](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/zeppelinux/32/1876_2.png) [@zeppelinux](https://forum.keycloak.org/u/zeppelinux)\
**Post date:** [April 26, 2021, 12:41am UTC](https://forum.keycloak.org/t/http-in-admin-console-urls-instead-of-https/8722/1 "2021-04-26T00:41:47Z")

</div>

Hi All,

I installed Keycloak using [helm chart](https://github.com/codecentric/helm-charts/tree/master/charts/keycloak) and created admin user using localhost UI. Now, when i try to load the auth/admin/master/console/ it fails (the page is blank) because all the URL’s are created using HTTP not HTTPS and I don’t even have the port 80 open. Looks like this:

> ```
> <script type="text/javascript">
> var authServerUrl = 'http://keycloak.myhost.com/auth';
> var authUrl = 'http://keycloak.myhost.com/auth';
> var consoleBaseUrl = '/auth/admin/master/console/';
> var resourceUrl = '/auth/resources/k36of/admin/keycloak';
> var masterRealm = 'master';
> var resourceVersion = 'k36of';
> </script> 
> 
> ```

How to make sure Keycloak uses https everywhere?

UPDATE: added env variable KEYCLOAK\_FRONTEND\_URL with [https://keycloak.myhost.com/auth](https://keycloak.myhost.com/auth) value and all good now.
