New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I set this up? #8
Comments
Seems you have problems with your CSR, I suggest pasting your CSR at https://certlogik.com/decoder/ and then copying in the format outputted after it decoded your CSR. If it doesn't work then, try with the following openssl-command and enter the details: |
CSR is fine. I must be doing something wrong with the script. I have entered my email and password at index.php file and nothing else. How does the script verify the CSR? Also at index.php, I should enter my account ID or email? |
If you get stuck on the script's CSR-verification you can look at line 352 You should use your email as the "username" |
No idea how to modify PHP. Maybe there is a problem at define("ASSL", "")? I haven't defined anything here. |
Well, you shouldn't have to modify anything else than user, pass and make sure salt is something unique for security reasons (your webserver has to be able to write to the data folder specified of course). The define simply defines ASSL to a empty string, it doesn't matter what that value is at all. It's simply used to prevent accessing the language files directly, the language files have checks to make sure that ASSL is defined (the language file is called from this script), you can check the first lines in the language files to see the check. If you can't get it working, please try using the openssl command I posted and don't use special characters in the CSR for any field. |
My CSR works on every CSR decoder tool. The only special character that I uses is the star for wildcard. No idea what I am doing wrong. |
Just to make sure, you have openssl installed? I put together a simple script that tests that openssl is working and returning what the script expects, if it works with the CSR I just generated, test by replacing with your and check that it still works. You should see the following when loading the page: |
Openssl is installed. |
Also, I am using a subaccount for index.php because the main account can not login with email but with only ID. The subaccount has all admin features. But tested also with id and password of main account and the error is the same. |
Nginv config: `server { ssl_certificate /etc/letsencrypt/live/ssl.domain.com/fullchain.pem; # managed by Certbot |
It looks like I must have made some changes to openssl on this server. Tried on a clean centos7 server and it works fine. Thank you for helping 👍 |
How do I set this up? I am signing an account with Singlehop and I don't see any docs on how to set this up.
The text was updated successfully, but these errors were encountered: