Conoce a los Colaboradores Destacados de la Comunidad Oficial de Soporte de Apple en español
Son apasionados de la tecnología. Tienen un conocimiento profundo de productos y del ecosistema de Apple
Son gente única que les encanta resolver problemas
Disfrutan compartiendo lo que saben y ayudando a otras personas como tú

Videos de consejos y trucos de soporte de Apple especialmente para ti en Apple YouTube.
Suscríbete al Apple YouTube España, Apple YouTube Mexico, Apple YouTube Colombia, Apple YouTube Chile.
Cómo tomar fotos con el iPhone


Pregunta: HTTP2 Response “Upgrade h2”

Hi there!

Current situation

I usually develop for web and my clients use mainly Apache 2.4 for their implementations. So for local development I use the server available on my computer that uses MacOS High Sierra.

Apache comes with the http2 module that needs to be enabled in the configuration. However, the server always responds with an “Upgrade: h2” and selects HTTP/1.1 instead of using the new and modern protocol.

From what I have seen it is a problem with the version of the cryptography library used. To use HTTP/2 you must have more modern versions of openssl.


OpenSSL 1.0.2 and onward.

LibreSSL 2.5.0 and onward.

Response header:

Server: Apache/2.4.27 (Unix) LibreSSL/2.2.7 PHP/7.1.7


Rebuild the Apache server with the most updated openssl library that allows the use of HTTP/2.

To achieve that, unfortunately, it is necessary to install many other software, such as libnghttp2, openssl, php, apache, etc. So it's kind of tedious to do all that without complicating things with the same packages already implemented in the system.

I have tried that Apple solve this, but apparently they are not interested. Or maybe there are not many requests for this feature. That is, if someone implemented the module http2 in Apache of MacOS High Sierra, at least they should verify it, or not?


I opened a case about it 100340669535 but I have not seen any results.

Is there any effective mechanism where Apple can handle this request?


Listen 443 https

<VirtualHost *:443>
  Protocols h2 http/1.1
  DocumentRoot "/Users/develop/localhost"
  ServerName localhost
  ErrorLog "/Users/develop/logs/localhost-secure-error_log"
  CustomLog "/Users/develop/logs/localhost-secure-access_log" common
  SSLEngine on
  SSLProtocol All -SSLv2 -SSLv3
  SSLCertificateFile /etc/apache2/ssl/localhost.crt
  SSLCertificateKeyFile /etc/apache2/ssl/localhost.key
  SSLCertificateChainFile /etc/apache2/ssl/ca-chain.crt
  Header always set Strict-Transport-Security "max-age=15768000"

MacBook Air, macOS High Sierra (10.13.4), Apache modules

Publicado el


El contenido de la página fue cargado

No hay respuestas.
Perfil de usuario para usuario: nhereveri

Pregunta: HTTP2 Response “Upgrade h2”