Google-related website SSL error resolution when GoAgent accesses Youtube in Ubuntu

Source: Internet
Author: User
Tags goagent
Introduction: In Ubuntu, access to Youtube always reports that the certificate cannot be identified. Because it is based on the SSL protocol, it is unable to access normally and finally finds a solution similar to that of netizens. This method is found on the Internet. The specific solution is as follows: googleplus, twitter and other websites encounter such error prompts as & ldquo; thesite's ssecuritycertificateisnottrusted *** & rdquo. In fact, this

Introduction: In Ubuntu, access to Youtube always reports that the certificate cannot be identified. Because it is based on the SSL protocol, it is unable to access normally and finally finds a solution similar to that of netizens.

This method is found on the Internet. The specific solution is as follows:

Google plus, twitter, and other websites encounter "the site's security certificate is not trusted ***" error messages. In fact, this is because the goagent certificate is not imported into the system certificate library, and Google Chrome itself cannot import the certificate (which is different from Firefox), it uses the system certificate library. Therefore, we need to manually import the data.

1. Install the certificate import tool:

Sudo apt-get install libnss3-tools

2. Import the Certificate file CA. crt in the goAgent folder (the absolute path of the certificate is in the brackets below, which varies from person to person. Note that)

Certutil-d SQL: $ HOME/. pki/nssdb-A-t TC-n "goagent"-I [/path/to/goagent/local/CA. crt]

Then re-open G + and so on, and no certificate error is prompted.

2. The google plus icon is not displayed normally. The reason is that these images are stored in the googleusercontent.com domain and the host ip address needs to be reset.

1. Open the host file under root: sudo gedit/etc/hosts

2. Add the following content to the host file: 173.194.38.143 ssl.gstatic.com

3. Add a new rule in goagent: *: // gstatic.com /*

Ubuntu 14.04Download, install, configure related knowledge http://www.linuxidc.com/Linux/2014-04/100370.htm

Ubuntu 14.04: Http://www.linuxidc.com/Linux/2014-04/100352.htm

Ubuntu 14.04 text tutorial on hard drive installation in Windows 7Http://www.linuxidc.com/Linux/2014-04/100369.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-08/105371.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.