From a66cfa0221df0c59ab84726771187daa4c2c80e4 Mon Sep 17 00:00:00 2001 From: Sagleft Date: Fri, 15 Jul 2022 15:22:17 +0300 Subject: [PATCH] solve ssl problems --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ebe06d..9fafc6b 100644 --- a/README.md +++ b/README.md @@ -107,10 +107,32 @@ where * `params` section: other parameters; * `limit`: number of posts for transportation; -## Channel Limit Problem +## Solve problems + +### Channel Limit Problem In Utopia, you can create a maximum of 10 channels. There is a way to solve this problem. You will need to create additional accounts on which you will create channels. Next, you add the bot account to these channels and give it moderator rights. +### SSL problem + +Get the correct directory for your certs to be placed by default with this + +```bash +php -r "print_r(openssl_get_cert_locations()['default_cert_file']);" +``` + +Then use this to get the cert and put it in the default location found from the code above + +```bash +wget http://curl.haxx.se/ca/cacert.pem -O +``` + +example: + +```bash +wget http://curl.haxx.se/ca/cacert.pem -O /etc/pki/tls/cert.pem --no-check-certificate +``` + ## other This content transport request will be made the next time the script `cron/execute_orders.php` is called.