Julien Costes Posted August 18, 2022 Posted August 18, 2022 Hello, For API in CP Admin, I have this error when i whant to go for the first time : Quote The API endpoint is not giving the expected response. Check you followed the instructions correctly. The URL being tested is: https://[site]/api/index.php?/core/hello The Request returned following error: https://[site].com/api/index.php?/core/hello SSL: unable to obtain common name from peer certificate What does that mean and how can I fix this? The installation is on wamp, can you help me please?
Marc Posted August 18, 2022 Posted August 18, 2022 This message is coming from your server when visiting that location SSL: unable to obtain common name from peer certificate You would need to contact your hosting company to correct that. I realise this may be yourself given you have mentioned WAMP there, however this is a server side issue unfortunately.
Julien Costes Posted August 18, 2022 Author Posted August 18, 2022 Thx Yes it is my server, is there someone who could give me other solution to ask myself? XD I have the following error on an application that I just bought, it's again my server?
Mark H Posted August 18, 2022 Posted August 18, 2022 Yes, that's also a server issue. You or your Host need to install Language Locales for the language(s) you are trying to use.
Julien Costes Posted August 19, 2022 Author Posted August 19, 2022 I test with Xampp and i have again this two errors. I am on Windows, does it come from him?
Marc Posted August 19, 2022 Posted August 19, 2022 We would not generally advise using a windows server nor a local installation for your main site. All we can say for sure is what you are seeing is an issue with server configuration, rather than one of your software Julien Costes 1
Solution Julien Costes Posted August 20, 2022 Author Solution Posted August 20, 2022 I found the solution for the first error. The certificate was generated without the Common Name field being filled. I just recreated it. Daniel F and SeNioR- 1 1
Recommended Posts