hotel icon indicating copy to clipboard operation
hotel copied to clipboard

Please document HTTPS support in README

Open tmaier opened this issue 6 years ago • 6 comments

I wonder about the HTTPS support in hotel.

I was able to find a few answers, but I think it should be more clearly described in the README

  • What are the limitations of hotel HTTPS support feature
    The certificate will not be trusted and will not be shown as valid
  • Which browsers are supporting hotel's HTTPS feature?
    Only some. E.g. Chrome. But not Safari
  • Do I need to import the Hotel SSL root certificate
    No, this is not needed and does not help. Comands like $ security add-trusted-cert -k login.keychain-db ~/.hotel/cert.pem are useless

tmaier avatar Apr 14 '18 03:04 tmaier

I wasn't able to get the certificate trusted on a Mac either... does anyone have a solution?

leighhalliday avatar Apr 18 '18 15:04 leighhalliday

Trying to get fetch reqs working on React Native. Appears Android doesn't fetch anything http, consequently been trying for the last 36 hours to get a simple mock of my json-server live as a httpS://foo.bar but zero success.

I have a mock npm run startServer that kicks off an instance of json server with a db.json array, that works fine. But getting hotel to proxy calls to https://foo.bar and bounce them to http://foo.bar seems either not documented or not documented clearly.

Can someone update the ReadMe?

Aid19801 avatar Jul 18 '18 10:07 Aid19801

@Aid19801 I did not fully understand your issue. Maybe we can start off to collect what we know in a Q&A style here in this issue. Could you try to write a question (like in the issue above) and an answer for that as well as comment here?

tmaier avatar Jul 18 '18 19:07 tmaier

The HTTPS certificate generated for hotel won't show as secure in Chrome (even if trusted in Keychain Access) as the subject alternate name is for "http://example.org/webid#me" rather than *.localhost.

dteirney avatar Aug 05 '18 11:08 dteirney

@dteirney Same.

I think it's pretty clear how this doesn't work. I don't think it's at all clear how (or even if) this does work.

StefanoDeVuono avatar Sep 06 '18 18:09 StefanoDeVuono

Sorry to revive this issue after 2+ years. Is there a fix or workaround to make the cert trusted on my development host? It is quite frustrating not able to develop the site in Safari

jinjie avatar May 03 '20 07:05 jinjie