Problem with SSL certificates after editing hosts file

Discussion in 'Computer Software and Operating Systems' started by DrCrygor07, Oct 21, 2015.

  1. DrCrygor07
    OP

    DrCrygor07 Italian Wario Ware bootleg©

    Member
    1,688
    623
    Sep 4, 2014
    Italy
    Hi everyone, i need your help: i wanted to try editing my hosts file, so i added the line "127.0.0.1 www.facebook.com". I went on www.facebook.com and it told me of an error because of an ssl certificate, so i deleted the line i hosts. Even now the website doesn't work, i don't know why, it says:
    NET::ERR_CERT_AUTHORITY_INVALID
    Subject: localhost

    Issuer: localhost

    Expires on: 09 nov 2019

    Current date: 21 ott 2015

    PEM encoded chain: -----BEGIN CERTIFICATE-----
    MIIBnzCCAQgCCQC1x1LJh4G1AzANBgkqhkiG9w0BAQUFADAUMRIwEAYDVQQDEwls
    b2NhbGhvc3QwHhcNMDkxMTEwMjM0ODQ3WhcNMTkxMTA4MjM0ODQ3WjAUMRIwEAYD
    VQQDEwlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMEl0yfj
    7K0Ng2pt51+adRAj4pCdoGOVjx1BmljVnGOMW3OGkHnMw9ajibh1vB6UfHxu463o
    J1wLxgxq+Q8y/rPEehAjBCspKNSq+bMvZhD4p8HNYMRrKFfjZzv3ns1IItw46kgT
    gDpAl1cMRzVGPXFimu5TnWMOZ3ooyaQ0/xntAgMBAAEwDQYJKoZIhvcNAQEFBQAD
    gYEAavHzSWz5umhfb/MnBMa5DL2VNzS+9whmmpsDGEG+uR0kM1W2GQIdVHHJTyFd
    aHXzgVJBQcWTwhp84nvHSiQTDBSaT6cQNQpvag/TaED/SEQpm0VqDFwpfFYuufBL
    vVNbLkKxbK2XwUvu0RxoLdBMC/89HqrZ0ppiONuQ+X2MtxE=
    -----END CERTIFICATE-----