Difficulties enabling SSL #6660
-
We have a newish installation of Wiki.js on a Windows Server box, and I'm having a bit of difficulty getting SSL enabled. In the config.yml file, I have changed the below options to the values shown We are running as a service via node-windows, so at this point I restart the service, but the page load times out. I can't see anything obvious wrong, unless I have some syntax or formatting wrong in these sections, but the documentation doesn't highlight anything specific I need to account for. Any guidance appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 13 replies
-
You'll need to check the logs to get the error. The logs are in the process output. |
Beta Was this translation helpful? Give feedback.
-
Is there anything else I can to do diagnose this please, as I am at a loss, and would really like to get this resolved! |
Beta Was this translation helpful? Give feedback.
-
Can anyone assist me any further please? For ref, I have found that in IE locally on the server, HTTPS the page does load (although IE give a cert error, but I see nothing wrong with the cert). I have followed the instructions for enabling SSL using a PFX, and it's all quite straight forward config wise, so does this suggest a possible issue with the cert? |
Beta Was this translation helpful? Give feedback.
-
Still no one able to assist me with diagnosing this issue further? |
Beta Was this translation helpful? Give feedback.
-
Please can someone, anyone, help me with this? |
Beta Was this translation helpful? Give feedback.
-
@JamesEdmondsUKPN you've probably moved on, but I managed to get it working. It was a little weird, but what I ended up doing is putting a copy of the cert and key file in the working directory of the wiki at the same level as the config file. The reasoning for this is the system SSL directory is owned by root and didn't want to give the local user access to that. This is for an internal site so I didn't really care. Then with Apache I reverse proxy port 3443 to 443 (and also limit access to 192.168.0.0) and have the apache config reference the system SSL files. It works for me. |
Beta Was this translation helpful? Give feedback.
This is a community-supported app. The overwhelming majority of users are deploying to docker / linux environments. So you can't expect to have as many responses on an issue when using an environment with very little usage.
Different options are provided on a best effort basis. We simply expose the available options from the underlying libraries. It doesn't guarantee someone will be able to help you if you use such option.
The SSL options in Wiki.js are mostly provided because some users run their instance in a small environment directly against the internet. It's more of a fallback / basic solution. Most corporate environments would instead use a reverse-proxy (whether locally or using s…