# Run Cristal using https during development

**URL:** <https://forum.xwiki.org/t/run-cristal-using-https-during-development/15683>\
**Category:** Cristal\
**Tags:** proposal, development\
**Created:** [October 9, 2024, 7:51am UTC](https://forum.xwiki.org/t/run-cristal-using-https-during-development/15683 "2024-10-09T07:51:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mleduc](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mleduc/32/2328_2.png) [@mleduc](https://forum.xwiki.org/u/mleduc)\
**Post date:** [October 9, 2024, 7:51am UTC](https://forum.xwiki.org/t/run-cristal-using-https-during-development/15683/1 "2024-10-09T07:51:53Z")

</div>

Hello all,

I’d like to propose to start running Cristal using https in development mode.

- it’s making development closer to production, helping to identify issues early
- avoid bumping into issues during development because of browser restriction when running over http

[mkcert](https://github.com/FiloSottile/mkcert) is a tool to generate self-signed certificates and register them as trusted on the system. Allowing to run self-signed certificates without annoying browser warnings.  
[vite-plugin-mkcert](https://www.npmjs.com/package/vite-plugin-mkcert) integrates mkcert into vite, allowing to start vite to start on https seamlessly.

WDTY?

PS: I’d be interested in having volunteers running Mac and Windows to test if `vite-plugin-mkcert` is portable.

---

<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:** [October 9, 2024, 8:18am UTC](https://forum.xwiki.org/t/run-cristal-using-https-during-development/15683/2 "2024-10-09T08:18:37Z")

</div>

The question it raises is why are we not doing this for XS and should we also do it for XS?

Has the fact that we ran HTTP for XS dev for 20 years caused problems when executed under HTTPS in production? Maybe in a few cases but not that much I think.

OTOH if there’s no downside (are there?) for running HTTPS then why not.

---

<div class="post-metadata">

**Author:** ![surli](https://forum.xwiki.org/user_avatar/forum.xwiki.org/surli/32/2687_2.png) [@surli](https://forum.xwiki.org/u/surli)\
**Post date:** [October 9, 2024, 9:39am UTC](https://forum.xwiki.org/t/run-cristal-using-https-during-development/15683/3 "2024-10-09T09:39:21Z")

</div>

> [@mleduc](#):
>
> I’d like to propose to start running Cristal using https in development mode.

Does it mean to also run it with https for integration tests? No impact to expect there? And what about the communication to a backend not relying on https, would that create problems?
