By: Mihir Bhusawalkar named 09 May 2022 at 6:15 a.m. CDT

11 Responses
Mihir Bhusawalkar gravatar
Hello, I have configured Janssen setup on ubuntu 20.X on my vmware workstation. I am getting this error(500) for both of the modules,when I try to access menu driven interface. Any solution on the below problem mentioned below? I have also attached an image for better understanding. Thanks, Mihir **root@ub:~# /opt/jans/jans-cli/config-cli.py An Unhandled error raised: (500) Reason: Server Error HTTP response headers: HTTPHeaderDict({'Date': 'Mon, 09 May 2022 11:08:14 GMT', 'Server': 'Apache/2.4.41 (Ubuntu)', 'X-Xss-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Cache-Control': 'no-store', 'Pragma': 'no-cache', 'Content-Length': '0', 'Set-Cookie': 'X-Correlation-Id=fa70e2fe-8912-4d74-a080-3a823f01bba7; Secure; HttpOnly;HttpOnly', 'Connection': 'close'}) **Error is logged to /opt/jans/jans-cli/error.log root@ub:~# /opt/jans/jans-cli/scim-cli.py An Unhandled error raised: (500) Reason: Server Error HTTP response headers: HTTPHeaderDict({'Date': 'Mon, 09 May 2022 11:08:17 GMT', 'Server': 'Apache/2.4.41 (Ubuntu)', 'X-Xss-Protection': '1; mode=block', 'X-Content-Type-Options': 'nosniff', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Expires': 'Thu, 01 Jan 1970 00:00:00 GMT', 'Cache-Control': 'no-store', 'Pragma': 'no-cache', 'Content-Length': '0', 'Set-Cookie': 'X-Correlation-Id=246b9719-636b-425b-9c9d-d54dd4e34f47; Secure; HttpOnly;HttpOnly', 'Connection': 'close'}) **Error is logged to /opt/jans/jans-cli/error.log**

By Mustafa Baser staff 09 May 2022 at 11:45 a.m. CDT

Mustafa Baser gravatar
Hi Please set `debug=true` in `/root/.config/jans-cli.ini` and send complete output, and logs

By Mihir Bhusawalkar named 10 May 2022 at 1:48 a.m. CDT

Mihir Bhusawalkar gravatar
Hello Mustafa, Thank you for your assistance. I have set debug=true in /root/.config/jans-cli.ini and have attached output and logs. Please let me know if you need anything else.

By Mustafa Baser staff 10 May 2022 at 2:27 a.m. CDT

Mustafa Baser gravatar
Hi, This is openbanking setup. It uses mtls, `config-cli.py` has to be provided `--config-api-mtls-client-cert` and `--config-api-mtls-client-key` Regards.

By Michael Schwartz Account Admin 10 May 2022 at 9:17 a.m. CDT

Michael Schwartz gravatar
Can you confirm that the Auth Server is returning the OpenID configuration from https://(hostname)/.well-known/openid-configuration ? Also, do you see any errors in the Auth Server log or the web server log?

By Mihir Bhusawalkar named 11 May 2022 at 6:30 a.m. CDT

Mihir Bhusawalkar gravatar
Hello Michael, Auth Server is returning the OpenID configuration from URL you mentioned. Also, I dont see errors in Auth server logs (/opt/jans/jetty/jans-auth/logs/jans-auth.log)

By Mihir Bhusawalkar named 12 May 2022 at 5:56 a.m. CDT

Mihir Bhusawalkar gravatar
Hello Mustafa, While providing --config-api-mtls-client-cert(/opt/jans/jans-cli/config-cli.py --config-api-mtls-client-cert client.crt), I am getting SSL error. Please note that client.crt is my certificate file Output and logs are attached below.I will try to reinstall the jans setup again to check whether the same SSL error exists or not and let you know about it Regards, Mihir

By Mustafa Baser staff 12 May 2022 at 11:46 a.m. CDT

Mustafa Baser gravatar
Hi, I followed these instructions https://gluu.org/docs/openbanking/1.0.0/installvm/#mtls-configuration It worked for me. I provide server.key and server.crt, not client key. `/opt/jans/jans-cli/config-cli.py -CC server.crt -CK server.key` I have no issue connecting to server, but having trouble with static kid. I asked developers and waiting response.

By Michael Schwartz Account Admin 12 May 2022 at 12:09 p.m. CDT

Michael Schwartz gravatar
@Mihir Bhusawalkar -- are you using the open banking distribution? If you want to test Janssen, I suggest you use the VM images found on https://github.com/JanssenProject/jans/releases

By Mihir Bhusawalkar named 13 May 2022 at 6:46 a.m. CDT

Mihir Bhusawalkar gravatar
Hello Michael, I cannot find any VM images for my ubuntu 20.X(VMware Workstation) in the URL https://github.com/JanssenProject/jans/releases All I can see is some assets section (PFA) in releases section. Can you please suggest what should I exactly use from releases please,in order to test janssen? Regards, Mihir

By Mustafa Baser staff 13 May 2022 at 11:53 a.m. CDT

Mustafa Baser gravatar
Hi Mihir, We have some issues executing CLI on openbanking installation. I am trying to fix. Once it is ready I will update. Regards.

By Mihir Bhusawalkar named 16 May 2022 at 2:22 a.m. CDT

Mihir Bhusawalkar gravatar
Hi Mustafa, Thank you for your assistance. I will be waiting for your reply. Regards, Mihir