Ssl with metabase jar file

Hi there
I set up metabase JAR installation. My is working with SSL but when I hit url:3000 for metabase it gives me ERR_SSL_PROTOCOL_ERROR . I have set a 301 redirect in cpanel that directs to

  "browser-info": {
    "language": "en-US",
    "platform": "Win32",
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36",
    "vendor": "Google Inc."
  "system-info": {
    "file.encoding": "UTF-8",
    "": "OpenJDK Runtime Environment",
    "java.runtime.version": "1.8.0_322-b06",
    "java.vendor": "Red Hat, Inc.",
    "java.vendor.url": "",
    "java.version": "1.8.0_322",
    "": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "25.322-b06",
    "": "Linux",
    "os.version": "3.10.0-1160.59.1.el7.x86_64",
    "user.language": "en",
    "user.timezone": "UTC"
  "metabase-info": {
    "databases": [
    "hosting-env": "unknown",
    "application-database": "h2",
    "application-database-details": {
      "database": {
        "name": "H2",
        "version": "1.4.197 (2018-03-18)"
      "jdbc-driver": {
        "name": "H2 JDBC Driver",
        "version": "1.4.197 (2018-03-18)"
    "run-mode": "prod",
    "version": {
      "tag": "v0.42.2",
      "date": "2022-02-28",
      "branch": "release-x.42.x",
      "hash": "d6ff494"
    "settings": {
      "report-timezone": "America/Chicago"

Hi @David_St
Since it sounds like you are using a reverse-proxy, then certificate is handled in the reverse-proxy, which should also mask the port, so it would just use :443.

Have a look here and then search the internet for how to setup Nginx with certificates:

If you want to use certificate directly, which I cannot recommend, then follow this:

You should also upgrade to Java 11:
And migrate away from H2 if you are running Metabase in production:

updated java to 11 but shows still 1.8 in the diagnostic info

openjdk version "" 2022-02-08 LTS
OpenJDK Runtime Environment 18.9 (build
OpenJDK 64-Bit Server VM 18.9 (build, mixed mode, sharing)

@David_St Because you haven't remove the old Java 8, or haven't restarted Metabase, or is referencing the old Java binaries when starting Metabase.

Just to be clear, upgrading Java or migrating away from H2 will not fix anything related to your current problem, but will make sure you don't end up in other problems later on.

okay its updated to 11 now. Checking setup Nginx with certificates now

Sometimes at port 80 we have a few process running that causes metabase to go down with a reverse proxy nginx set up. any advise

@David_St I don't understand what you mean. Without logs, then it's impossible to know what is going on.
Follow the Debian article to setup Metabase as a service.

is there anyother laternative apart from NGINX to use as reverse proxy for metabase

@David_St You can use any reverse-proxy you want. Try searching the forum for other types.

Hi There
I did installed NGINX revese proxy over my cent OS but still the URL https: shows ERR_SSL_PROTOCOL_ERROR

please help!

@David_St You must have done something different compared to the articles. There should not be a public facing port 3000, since that's what the reverse-proxy would handle.

Post your Nginx config.

If you don't have experience with servers, then you should consider Metabase Cloud or just use services like CloudFlare to add https.