Finally fixed it. Post the answer here as reference.
- Export company trusted root certificate with .cer extension. Somthing naming external root certificate
- Convert the ca file to .pem file using
openssl x509 -in xxx.cer -inform der -outform pem -out xxx.pem
Then on the centos 7 os:
- Install the ca-certificates package: yum install ca-certificates
- Enable the dynamic CA configuration feature: update-ca-trust force-enable
- Add the exported pem files to /etc/pki/ca-trust/source/anchors/
- Use command: update-ca-trust extract
References:
Related Posts:
- How to test a HTTPS URL with a given IP address
- https connection using CURL from command line
- Curl command for https ( SSL )
- Ngrok errors ‘502 bad gateway’
- Switch from https back to http
- Stop WordPress from using HTTPS and just use HTTP
- Chrome Version 44.0.2403.89 m is trying to force HTTPS
- Use https for img src
- WordPress in HTTPS, causing Redirect Loops
- Serving HTTP and HTTPS from one installation
- WordPress behind Proxy – Mixed Content
- How to deactivate/remove https on localhost project from online
- Changing http to https in wp_options
- Moving from http to https, and www. to non-www URL
- Force SSL 100%?
- Redirect URL on OAuth2.0 after switching from http to https
- Modify a plugin to open external links with iframe using https and not http?
- How to fix mixed content warnings for plugin resources?
- Changing HTTP to HTTPS
- WordPress changing script source from https to http
- WordPress forces HTTPS to HTTP in template
- WordPress HTTP requests point to localhost server after move to live HTTPS server
- Internet Explorer “Security Information” on every page in https site
- Category links break the https
- Can’t access Admin Panel
- Issues with forcing HTTPS
- Make WordPress site secure through HTTPS and SSL
- What is the “Force secure connections” option used for?
- White page on requests with Sec-Fetch-Site: cross-site
- Windows-hosted new site shows no preview: “Future home of something quite cool.” message is displayed
- Staging Session Randomly Switched from Secure (https) to Not Secure
- Moving wordpress site from HTTP to HTTPS ERR_TOO_MANY_REDIRECTS
- Issues after switching over to HTTPS
- content block https from http
- How to send user data from one website to another
- Navigation Bar displays vertically on Mozilla
- ERR_TOO_MANY_REDIRECTS when I change http to https
- I just updated to Https from Http, Should I change WordPress Address (URL) and Site Address in WordPress Dashboard?
- i can’t enter to control panel of my WordPress site
- Turn off https in WordPress 4
- Change links beginning from http:// to // so that https site can get correct CSS/JS files
- HTTPS for every page except for feeds
- wordpress website crash on https
- Whole website redirected to httpa but in dashboard settings still http
- http to https stuck in infinite loop
- How do I install and use cURL on Windows?
- Make a HTTPS request through PHP and get response
- cURL to show response headers after submiting a file
- cURL error 60: SSL certificate: unable to get local issuer certificate
- How do I make curl ignore the proxy?
- What exactly is cacert.pem for?
- Mixed Content Page: requested an insecure stylesheet error
- PHP cURL custom headers
- How to fix “insecure content was loaded over HTTPS, but requested an insecure resource”
- How to read a CSV file from a URL with Python?
- .NET Core vs Mono
- Switching MultiSite installation from HTTP to HTTPS
- cURL 28 error after switch from to brew php 7.2 on localhost
- Remove Google Fonts Which Are (Probably) Added By Plugins
- Force HTTPS using .htaccess – stuck in redirect loop
- bloginfo() and get_template_directory_uri() with SSL?
- Creating a post with the REST API, curl and oauth returning 401 error
- wp-admin redirecting to https, denying login
- Globally force SSL on all pages
- WordPress redirect loop on nginx + apache reverse proxy
- Redirect from https to http or from http to https? [closed]
- Is curl required?
- Retrieving Google Plus share count with wp_remote_post
- How to set up htaccess to redirect a particular post type or subdirectory to HTTPS?
- Enable Full SSL for WordPress
- Site kit Google Analytics setup giving Error: {“error”:”invalid ‘redirect_uri'”}
- my homepage does not have SSL but another page is ok
- I changed my site from HTTPS back to HTTP and now it is broken- Cannot access Admin panel on HTTP URL
- Page source contains an http item that makes page insecure; but in php files it’s written as https!
- wp_enqueue_style – CSS Not loading – ERR_TOO_MANY_REDIRECTS [closed]
- Programmatic Login from 3rd Party site
- Too many redirects after added SSL redirect on port 80 virtual host
- Website access with http and https
- Htaccess https 301 problem
- How to control SSL in WordPress for automatically changing http to https?
- WordPress from url get external source title
- Download file using cURL into wp-includes/uploads
- How best to keep my localhost on Http while my Remote production is on Https
- Error: Can´t access facebook comment plugin admin page
- /wp-admin not accessible after migrating to local host (no plugin issue)
- WP Refused to display ‘URL’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’
- Why does WordPress uses HTTPS for JS, CSS on EC2
- Can’t access WP-Admin via HTTPS
- how make wp include urls as https?
- Changed from HTTP to HTTP, can login no longer login
- Sending WordPress database information to cross domain the safe way?
- Run WordPress Plugin in the Specified time
- How do I secure a subdomain using UCC SSL?
- My WordPress site SSL is in red crossed color and can’t load at first time?
- Get full page HTML for a non-public WordPress page
- Serve HTTPS requests from subdomain
- How to use the HTTP API (wp_remote_get) instead of cURL?
- rest_cannot_create_user – Sorry, you are not allowed to create new users. CURL WORDPRESS REST API
- cURL External API request displays content above other content on page
- nginx HTTPS serving with same config as HTTP