pwm-project / pwm

pwm
Other
894 stars 251 forks source link

SSL certificate not importing #533

Closed fsadoon closed 4 years ago

fsadoon commented 4 years ago

DO NOT FILE AN ISSUE FOR HELP OR TO ASK QUESTIONS. This issue system is not for help requests and such issues will be deleted.

Instead, please ask for help on the PWM-General Google Group. If your not sure, it's better to ask on the pwm-general group before opening an issue here.

Describe the bug A clear and concise description of what the bug is. when importing SSL KEY it doesn't work and doesn't appears

To Reproduce Steps to reproduce the behavior: N/A

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen. The Key to Appears in imported keys Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

jrivard commented 4 years ago

Are you using the latest docker container snapshot of PWM 2.0-SNAPSHOT? Please post container logs.

fsadoon commented 4 years ago

hi there, yes am using the latest docker container PWM 2.0-SNAPSHOT,

logs are attached

Note : i removed my configuration and ran the container from scratch

pwm.txt

fsadoon commented 4 years ago

i tried Windows/Ubuntu and same is happening

jrivard commented 4 years ago

This container log doesn't have a configuration, thus it's using the default self-signed HTTPS cert. Please attach a log of the container starting with an HTTPS certificate configured.

fsadoon commented 4 years ago

do you mean that i need to run the docker image with my cert ? like : docker run -v /host/path/to/certs:/container/path/to/certs -d IMAGE_ID "update-ca-certificates"

fsadoon commented 4 years ago
jrivard commented 4 years ago

I've been able to reproduce an issue where the configeditor UI is not properly saving the cert during the import process. I think that's what you were originally reporting.... Standby for a fix.

This issue only affects the docker container and onejar distro. If you use the WAR file your on your own for configuring the HTTPS certificate, it won't be a config option in the configeditor.

fsadoon commented 4 years ago

Yup .. it works with the WAR file , struggled little bit to deploy it but eventually it works .. Appreciate your effort

fsadoon commented 4 years ago

Yup it works with the WAR file, struggled little bit in the deployment but eventually it works ..

Appreciate your effort

fsadoon commented 4 years ago

BTW, in the war file .. i can use the search bar to get the HTTPS option :) so you might want to disable it

jrivard commented 4 years ago

fixed in db7c2ee968d0657f25dbf552bc942a06f6fc9ee4