# Setting URL to https

**URL:** <https://forum.xwiki.org/t/setting-url-to-https/7345>\
**Category:** Help / Discuss\
**Tags:** https\
**Created:** [August 19, 2020, 8:50am UTC](https://forum.xwiki.org/t/setting-url-to-https/7345 "2020-08-19T08:50:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pharao50](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/p/85e7bf/32.png) [@pharao50](https://forum.xwiki.org/u/pharao50)\
**Post date:** [August 19, 2020, 8:50am UTC](https://forum.xwiki.org/t/setting-url-to-https/7345/1 "2020-08-19T08:50:42Z")

</div>

Hello There I am again 🙂,

I managed to install XWiki in the meantime with .dep package method. Now I would like to enable https for all traffic. Just http doesn’t meet our corporate requirements. What I found was this and Stefana provided me this link as well:

> **[Tomcat Installation (XWiki.org)](https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/InstallationWAR/InstallationTomcat/#HConfiguringtomcatforhttps)**
>
> Enterprise wiki for sharing knowledge

When I activate it like described:

```auto
    <!-- A "Connector" represents an endpoint by which requests are received
         and responses are returned. Documentation at :
         Java HTTP Connector: /docs/config/http.html
         Java AJP Connector: /docs/config/ajp.html
         APR (HTTP/AJP) Connector: /docs/apr.html
         Define a non-SSL/TLS HTTP/1.1 Connector on port 8080
    -->
    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               **secure="true"**
 **scheme="https" />**
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443"
               secure="true"
               scheme="https" />
    -->

```

No https is working. Can someone tell me what I did wrong, please? Thank you for your help.

---

<div class="post-metadata">

**Author:** ![pharao50](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/p/85e7bf/32.png) [@pharao50](https://forum.xwiki.org/u/pharao50)\
**Post date:** [August 19, 2020, 8:56am UTC](https://forum.xwiki.org/t/setting-url-to-https/7345/3 "2020-08-19T08:56:35Z")

</div>

Hello, no I didn’t because of this comment: only needed if using another server for HTTPS. Because the webserver came with the .deb package. If it’s needed anyway I need to configure this as well and try again

---

<div class="post-metadata">

**Author:** ![vmassol](https://forum.xwiki.org/user_avatar/forum.xwiki.org/vmassol/32/6_2.png) [@vmassol](https://forum.xwiki.org/u/vmassol)\
**Post date:** [August 19, 2020, 9:01am UTC](https://forum.xwiki.org/t/setting-url-to-https/7345/4 "2020-08-19T09:01:04Z")

</div>

> [@pharao50](#):
>
> Hello, no I didn’t because of this comment: only needed if using another server for HTTPS. Because the webserver came with the .deb package. If it’s needed anyway I need to configure this as well and try again

Yes, just realized it and removed my comment 😉 but you were too fast to answer! 🙂

I haven’t configured HTTPs myself for Tomcat so I don’t know. All I know is that it’s transparent for XWiki and it’s thus a servlet container thing. You could get help on the tomcat forums/docs too.

What error do you get?

Maybe enable tomcat logs?
