Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Haproxy SSL configuration

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
sslLoadBalancer
2 Respuestas
6057 Vistas
Avatar
Amit Bhardwaj

Hey team, 

I have setup Odoo inside a VM hosted on a bare-metal server accessible on public IP. I want to access Odoo UI over HTTPs backed by Let's encrypt SSL certificate. 

This is how haproxy configuration looks like: 

frontend odoo-fe

  bind ssl crt

  use_backend odoo-be


backend odoo-be

  mode http

  server odoo :8069 check


Using this configuration, I am unable to open odoo portal from internet and getting "ERR_CONNECTION_REFUSED" error. 


Is anyone using Odoo the same way? Please suggest changes in haproxy config for redirection and anything else that will be helpful. 




0
Avatar
Descartar
Amit Bhardwaj
Autor

Hey,

Thanks for responding but this doesn't cover SSL related configuration. I am already done with Port 80 configuration without exposing credentials like suggested in the link you have shared. 


Avatar
Mehjabin Farsana
Mejor respuesta

Hi,

It seems like you are trying to use HAProxy to route incoming HTTPS traffic to the Odoo server running on port 8069. Here are some steps you can follow to troubleshoot the issue:

  1. Verify that the firewall on the VM is allowing incoming HTTPS traffic on port 443.

  2. Check the Odoo server configuration to ensure it is listening on port 8069 and allowing incoming traffic from the HAProxy server.

  3. Verify that the SSL certificate configured in HAProxy is valid and matches the domain name used to access the Odoo portal.

  4. Check the HAProxy logs for any errors or warnings that might indicate a problem with the configuration.

  5. Test the configuration by accessing the Odoo portal from a browser on the same network as the VM to ensure that it is working correctly.

Here's an updated HAProxy configuration that you can use as a reference:


frontend odoo-fe
bind *:443 ssl crt /path/to/certificate.pem
mode tcp
option tcplog
default_backend odoo-be

backend odoo-be
mode tcp
option tcplog
server odoo-server :8069 check


Make sure to replace with the actual IP address of your Odoo server. Also, replace /path/to/certificate.pem with the path to your SSL certificate file.

frontend odoo-fe
bind *:443 ssl crt /etc/letsencrypt/live/example.com/fullchain.pem
mode http
option forwardfor
reqadd X-Forwarded-Proto:\ https
default_backend odoo-be

backend odoo-be
mode http
option forwardfor
server odoo :8069 check

HAProxy configuration that includes SSL encryption:


frontend odoo-fe
bind *:443 ssl crt /etc/letsencrypt/live/example.com/fullchain.pem
mode http
option forwardfor
reqadd X-Forwarded-Proto:\ https
default_backend odoo-be

backend odoo-be
mode http
option forwardfor
server odoo :8069 check

In this configuration:

  • bind *:443 ssl crt sets up the frontend to bind to port 443 and use SSL encryption. You should replace example.com with your domain name, and ensure that the Let's Encrypt certificate is installed on the server.
  • option forwardfor adds the client IP address to the HTTP headers so that Odoo can see the original IP address of the client.
  • reqadd X-Forwarded-Proto:\ https adds an X-Forwarded-Proto header to the HTTP request to indicate that the original request was made over HTTPS.
  • default_backend odoo-be specifies that requests should be forwarded to the odoo-be backend by default.
  • server odoo :8069 check specifies that the odoo server should handle requests, and checks that it is available.

Make sure to replace with the actual IP address of your Odoo server.

Hope this will help you

Thanks

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

Please refer the following blog

https://www.cybrosys.com/blog/configuring-haproxy-odoo

Regards

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
SSL
ssl
Avatar
Avatar
Avatar
3
mar 18
4318
BUG W8/VISTA : URLError: <urlopen error (Errno 10061) from paypal return with SSL under W8
ssl
Avatar
0
may 16
5587
Running OpenERP7 in SSL (XML-RPCS) mode
ssl
Avatar
0
mar 15
4501
Openerp V8 over SSL
ssl
Avatar
Avatar
1
mar 15
9636
Can anyone help me for fixing this? it said my website not secure
ssl https
Avatar
0
ene 24
2764
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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