Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

How do I force SSL on my website using Cloudflare?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
v11cloudflare
3 Respostes
14412 Vistes
Avatar
Bruce Letterle

I have Odoo v11 running on Odoo.sh and am using Cloudflare for DNS management. SSL is turned on at Cloudflare and it works when I visit my site with https://, but I would like to force SSL even when someone types http://. I changed the  web.base.url to use https: under Technical->System Parameters, but that doesn't seem to force the URLs to use SSL. Any other thoughts?

0
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

Odoo.sh does not support SSL (yet). Odoo does recommend to use a third party service such as Cloudflare, but this is not a real solution. Please read first how it works and why Cloudflare itself does not recommend to use this option "Flexible SSL" for security reasons: https://support.cloudflare.com/hc/en-us/articles/200170416-What-do-the-SSL-options-mean-

It should only be used as a last resort if you are not able to setup SSL on your own web server, but it is less secure than any other option (even “Off”), and could even cause you trouble when you decide to switch away from it: How do I fix the infinite redirect loop...


So you should not downvote the messenger, but the lack of service from Odoo. To me this is a show stopper for odoo.sh.

2
Avatar
Descartar
Bruce Letterle
Autor

Actually, the FAQ at odoo.sh says this about SSL- "To enable SSL, you can use a third-party CDN service provider such as CloudFlare.com.". I've setup SSL at Cloudflare and I can access my site using https:

Ermin Trevisan

You can be sure that I'm very well able to read the documentation. Secondly, you should really try to understand what it is all about in the first place. Cloudflare is a third party provider and not Odoo. Therefore my statement is 100% correct and you should well be aware about the corresponding security risks, as elaborated in my amended answer.

Bruce Letterle
Autor

First, I should clarify that I am not using this website for ecommerce or anything that requires a valid SSL solution. I am just addressing the fancy green lock symbol issue for SEO and the Cloudflare SSL addresses this. Your answers are entirely correct and I completely agree that Odoo needs to fix this on Odoo.sh. For me to implement a complete secure solution for a client, we would move to our own servers and not use odoo.sh.

Yenthe Van Ginneken (Mainframe Monkey)

This is actually a good and valid answer, which shouldn't have had a downvote honestly. I've accepted your answer as it is the truth and it is a lack in SH.

Avatar
Hasan Qureshi
Best Answer

Guys, we have implemented Cloudflare on a customer website eFlorist.pk successfully. powered by Odoo community version 14. We have installed Let's Encrypt SSL + enable Cloudflare SSL/TLS encryption mode as full or flexible. Please see picture below.  You also need to enabled Cloudflare proxy in Cloudflare DNS.





0
Avatar
Descartar
Avatar
Bruce Letterle
Autor Best Answer

Thanks to Ermin's answer, I just checked the Cloudflare support articles and found the answer. In the Crypto section, there is an option called Always use HTTPS. It will redirect all requests with scheme “http” to “https”. This applies to all http requests to the zone. Seems to work perfectly!

0
Avatar
Descartar
Ermin Trevisan

Seeing a fancy green lock symbol in your browser is not the whole story. Read first what it is all about and why Cloudflare itself is not recommending using "Flexible SSL" in the link of my amended answer.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
When Odoo reserves stock for Sales Orders, can it do so taking into account the Date of the Order? Solved
v11
Avatar
Avatar
1
d’abr. 22
10324
How can I prevent users from archiving Products? I only want certain users to be able to do this? Solved
v11
Avatar
Avatar
Avatar
2
de nov. 25
9625
Session expired (invalid CSRF token)
v11
Avatar
Avatar
1
de jul. 21
24381
V11 Connect with Shopware Solved
v11
Avatar
Avatar
Avatar
Avatar
Avatar
6
d’ag. 20
6283
[Odoo v11] line 686, in call_kw_multi ids, args = args[0], args[1:] IndexError: list index out of range
v11
Avatar
Avatar
1
de maig 20
6684
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now