Failed to start proxy issue in Jupyterhub

I am trying to install Jupyterhub in our edge node. After following the setup I tried to start the Jupyter hub first time and got the below error. Please check once

Log:
2021-12-11 12:17:49,317 INFO sqlalchemy.engine.Engine COMMIT
INFO:sqlalchemy.engine.Engine:COMMIT
[I 2021-12-11 12:17:49.318 JupyterHub proxy:703] Starting proxy @ https://:8000
[D 2021-12-11 12:17:49.318 JupyterHub proxy:704] Proxy cmd: [‘configurable-http-proxy’, ‘–ip’, ‘’, ‘–port’, ‘8000’, ‘–api-ip’, ‘127.0.0.1’, ‘–api-port’, ‘8001’, ‘–error-target’, ‘http://127.0.0.1:8081/hub/error’, ‘–log-level’, ‘debug’, ‘–ssl-key’, ‘/etc/security/certs/_private.key’, ‘–ssl-cert’, ‘/etc/security/certs/_cert.cer’]
[D 2021-12-11 12:17:49.327 JupyterHub proxy:611] Writing proxy pid file: jupyterhub-proxy.pid
_tls_common.js:149
c.context.setKey(key, passphrase);
^

Error: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch
at Object.createSecureContext (_tls_common.js:149:17)
at Server.setSecureContext (_tls_wrap.js:1330:27)
at Server (_tls_wrap.js:1185:8)
at new Server (https.js:74:3)
at Object.createServer (https.js:110:10)
at new ConfigurableProxy (/opt/rh/rh-nodejs14/root/usr/lib/node_modules/configurable-http-proxy/lib/configproxy.js:225:32)
at Object. (/opt/rh/rh-nodejs14/root/usr/lib/node_modules/configurable-http-proxy/bin/configurable-http-proxy:308:13)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32) {
library: ‘x509 certificate routines’,
function: ‘X509_check_private_key’,
reason: ‘key values mismatch’,
code: ‘ERR_OSSL_X509_KEY_VALUES_MISMATCH’
}
[C 2021-12-11 12:17:50.378 JupyterHub app:2755] Failed to start proxy
Traceback (most recent call last):
File “/usr/share/miniconda2/envs/py36/lib/python3.6/site-packages/jupyterhub/app.py”, line 2753, in start
await self.proxy.start()
File “/usr/share/miniconda2/envs/py36/lib/python3.6/site-packages/jupyterhub/proxy.py”, line 730, in start
_check_process()
File “/usr/share/miniconda2/envs/py36/lib/python3.6/site-packages/jupyterhub/proxy.py”, line 726, in _check_process
raise e from None
RuntimeError: Proxy failed to start with exit code 1

[D 2021-12-11 12:17:50.390 JupyterHub application:653] Exiting application: jupyterhub

I ran configurable-http-proxy and below is the response
configurable-http-proxy
19:18:20.472 [ConfigProxy] warn: REST API is not authenticated.
19:18:20.491 [ConfigProxy] info: Proxying http://*:8000 to (no default)
19:18:20.491 [ConfigProxy] info: Proxy API at http://localhost:8001/api/routes
Thanks,
Elango

It sounds like you’ve got a problem with your SSL certificates. I pasted your error into Google and this came up:

Maybe you can try those suggestions, or alternatively try and check that your certificate is correct some other way?

Thanks @manics , I will look into this. Will keep you posted