Siege Posted October 19, 2023 Share Posted October 19, 2023 After 8.0 I think we need a Tutorial on how to get our API working again since now it is another configuration and at least I don't know how to put it right, I would greatly appreciate it. felipesmoke94 and Dodo 2 Link to comment Share on other sites More sharing options...
0 XFallSeane Posted October 20, 2023 Share Posted October 20, 2023 I highly recommend with each new major update to things you use to look at the new files created at the base of your folders. Â The server folder has 4 new files at its base, appsetting.json, appsettings.Production.json, self-signed.crt abd self-signed.key. Â To activate the API you need to activate it by default in appsettings.Production.json, then you will need to run the server in HTTPS which should be functional thanks to the certificates and the key (for your local computer only those there). Â Then, you just need to put your new url where you use your server: https://localhost:5443 for local servers and on remote servers: https:IpOrDomain:5443 Remember, you need an SSL certificate on your live server for api work. Â On your internet browser, type the URL that suits you + /api/v1/users (https://localhost:5443/api/v1/users)Â if you come across a 404 error everything is good, if you come across an ssl or empty response error there are a few things that are wrong. Link to comment Share on other sites More sharing options...
0 Siege Posted October 20, 2023 Author Share Posted October 20, 2023 Then you just need to put your new URL where you use your server [where are you referring to here? ] Â To enable the API you need to enable it by default in appsettings.Production.json, then you will need to run the server on HTTPS [in appsettings.Production.json Where specifically should that be changed? ] Â Port 5443 is a different one, right? It is not the one we use for the server port I imagine. Â As for the SSL certificate, should it work now? or you have to pay for that service. Â Then in the Tools API you are supposed to reinstall again to re-enter the installation data to put the https format this time and not the http, right? Â Â Link to comment Share on other sites More sharing options...
0 Siege Posted October 20, 2023 Author Share Posted October 20, 2023 12 hours ago, XFallSeane said: I highly recommend with each new major update to things you use to look at the new files created at the base of your folders. Â The server folder has 4 new files at its base, appsetting.json, appsettings.Production.json, self-signed.crt abd self-signed.key. Â To activate the API you need to activate it by default in appsettings.Production.json, then you will need to run the server in HTTPS which should be functional thanks to the certificates and the key (for your local computer only those there). Â Then, you just need to put your new url where you use your server: https://localhost:5443 for local servers and on remote servers: https:IpOrDomain:5443 Remember, you need an SSL certificate on your live server for api work. Â On your internet browser, type the URL that suits you + /api/v1/users (https://localhost:5443/api/v1/users)Â if you come across a 404 error everything is good, if you come across an ssl or empty response error there are a few things that are wrong. Â ERR_SSL_VERSION_OR_CIPHER_MISMATCHÂ Â Â That's what I get in the browser, but it's supposed to already be recognizing it, right? There's just something missing that's not right, right? Dodo 1 Link to comment Share on other sites More sharing options...
Question
Siege
After 8.0 I think we need a Tutorial on how to get our API working again since now it is another configuration and at least I don't know how to put it right, I would greatly appreciate it.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now