I have created two codeigniter project subdomains. In domain A I have kept only the controller and view part. In domain B I have kept only the controller and model part. I am using controller of domain A to send api calls to controller of domain B using cURL, then using the data sent from domain B to load in the view of domain A. I have used codeigniter-restserver library by phil sturgeon and used basic authentication for the api authentication. I am using IIS to host the services. All the Get and Post request are working proper in this architecture. But when I enabled ssl in both the domains the api stopped working. I tried changing the authentication type but it doesn't work with https. I am not able to find the problem.
codeigniter-restserver not working in https connection
264 views Asked by Ankit Ghosh At
1
There are 1 answers
Related Questions in AUTHENTICATION
- Authenticate Flask rest API
- Sends a personalised error message from the back-end to the front-end with Nuxt-auth
- How to connect Spotify PKCE Authorization Boilerplate to Login-Button in React
- Laravel SPA auth with Sanctum
- _supabaseClient__WEBPACK_IMPORTED_MODULE_1__.supabase.auth.signIn is not a function
- My openID Authentication return 'You must have either https wrappers or curl enabled.'
- How to detect the Minimization of Custom Chrome Tabs on Android?
- Wordpress redirect to homepage after successfully logged in
- How to modify the prebuilt UI of authentication in aws amplify version 6 in React Native
- Creating a login system for my website, navlist not working?
- Receiving 400 bad request on post when customer auth handler is used
- Creating Azure B2B login system with Vue.js frontend & Python Django backend
- Gradio chatbot: how to export individual conversation histories?
- Set-Cookie header not forwarded by nginx to the client
- git asking for authentication when auth.json is present while running composer update
Related Questions in HTTPS
- HTTPS configuration in Spring Boot, server returning timeout
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- My VPS does not accept HTTPS requests on a port other than 443
- Let Artifactory use HTTPS settings
- How to move updates from Google Play to another server
- Does a 403 error occur if there is no user-agent on the proxy network?
- How to fix HTTPS on express-gateway
- Can we check whether s3 bucket is currently accessed via http in any 1 of the account
- java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.renegotiatePending(J)I
- How do I fix this "Internal Server Error" I keep getting?
- Permission denied error on pfx certificate in docker ASP.NET Core 8 HTTPS on Ubuntu
- Mac Sonoma 14.4 Dotnet 8.0.203 SDK webapi https error
- Connect to wss that uses the same port as the rest of backend using nginx
- TLS: failed to verify certificate: x509: cannot validate certificate for <IP> because it doesn't contain any IP SANs
- Preventing Data Tampering in HTTPS Requests: Safeguarding User-Initiated Donations
Related Questions in CODEIGNITER-RESTSERVER
- codeigniter 4 rest api error 501 show action not implemented
- Restapi sends "invalid api key" message to client side
- CodeIgniter 3 REST Api cannot read routes
- How to redirect to another link after send reponse JSON
- Video cannot be uploaded to server side [react native + codeigniter]
- Extends REST_Controller and MY_Controller at once in CodeIgniter
- Phonegap Error : 401 Unauthorized - consuming Rest API with Basic Auth in Phonegap
- Codeiniter Rest Server - Not able to get data sent via post request
- Code Igniter REST_Controller.php get parse error
- codeigniter-restserver not working in https connection
- $this->input->post() returns NULL in codeigniter rest api implementation
- 405 method not allowed - CodeIgniter Rest-server
- Codeigniter single quotes when retrieve API issue
- Codeigniter Rest Server - Fatal error: Class 'CI_Exceptions' not found
- Always getting "status":false while using rest api in codeigniter 2.0
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
After 12 hours of searching for the problem, I found the answer in this post >> Make https request with curl
Previously I was creating a curl http request which worked without ssl.