Certificate

Marcel 2023-05-30 22:58:17 +02:00
commit 8d0ff99c60

@ -0,0 +1,47 @@
Welcome to the Zoraxy wiki!
I want to show you, how to import your own certificate in Zoraxy. I use the certificate, which I got from my domain provider.
So I have 3 files, but Zoraxy only has 2 Buttons to upload. I can not skip a file. If I do not use all of them, apps from my selfhosted services will mostly not work, because they need a fullchain certificate. Let us create one!
![First Step](https://github.com/tobychui/zoraxy/assets/110860055/f6c6a429-9ea1-49ac-b6ff-71b51c0eed93)
There are 3 files:
- a Keyfile (.key)
- the certificate itself (.cer or crt, it does not matter)
- the intermediate certificate (same as above)
So we need to merge those two certificates. This is very easy. I did it the following way and it works without problems.
First we need to open our certificate with an editor. Please do not use Wordpad or Word. The Windows editor or Notepad++ are fine. Right click on your certificate and choose "Open with -> Editor)
It should now look like this:
![cert1](https://github.com/tobychui/zoraxy/assets/110860055/075c31e6-718e-4b23-bea6-cfcac8827b71)
Now mark the whole file content and copy it to a new text file.
We are doing this again with the intermediate certificate and append its contents at the end of our own textfile.
Your doing it right if it looks like this:
![certfinal](https://github.com/tobychui/zoraxy/assets/110860055/c6fc04b5-b2b2-4af1-84bf-aa420c72e41a)
****
Now we need to save our textfile. In the save dialog choose "All files" and save it as domain**.pem**
The extension is important.
We have now 4 files
![finalstep](https://github.com/tobychui/zoraxy/assets/110860055/518aad4a-45cf-43c0-801d-88c24b50655e)
We are ready to upload them in Zoraxy, so login and go to the TLS / SSL certificate page.
Use the lower fields (Sub-domain Certificates)
Enter your domain name an then choose the keyfile for private key and your freshly created pemfile as public key
Your ready if it looks like this:
![domaincert](https://github.com/tobychui/zoraxy/assets/110860055/99efb361-062e-4350-b972-17ab4c6d3c2c)
Press upload and you are done. Now apps will work with Zoraxy.