How to accept a HTTPS server's invalid certificate in a given client machine?

36

It will depend on each browser. Your server has a certificate, but each browser will display that this certificate was generated by an unknown authority.

Personally, I run a private cloud which is accessible only within my network. I know that it communicates with a secure connection and that the certificate was self generated by the server. Knowing this, I know that my connection is still encrypted but is not authorized/verified with a known agent. I will always get these errors.

However, it is not a good idea to disable the error/warning as that is no different than removing your Check Engine light bulb. Hides the problem but does not solve your root issue.

Firefox: enter image description here

This part will allow you to add the exception for the certificate and not display this information again while keeping the connection secured.

enter image description here enter image description here

enter image description here

Share:
36

Related videos on Youtube

user1996971
Author by

user1996971

Updated on September 18, 2022

Comments

  • user1996971
    user1996971 over 1 year

    My working code has the line,

    Cells(i - 1, 13) = Cells(i, 1)
    

    Where Cells(i - 1,13) is blank, and Cells(i,1) contains text. The macro works fine, but when cells(i,1) has a very large amount of text, it throws up a Runtime error.

    Is there a workaround for this? I know the problem is caused by the string being too long, as making it shorter avoids the error. It also works fine if I copy and paste the contents of the cell, rather than 'equalling' them. Googling gave me little information on this. Has anyone come across this limitation before?

    • Ƭᴇcʜιᴇ007
      Ƭᴇcʜιᴇ007 over 12 years
    • kobaltz
      kobaltz over 12 years
      Disabling certificates is not a solution. You're leaving yourself open to expired certificates, an attacker trying to intercept communications and/or tampering with your internet connection. It is better to accept the invalid certificate only if you know and trust as to why this is happening.
    • Jader Dias
      Jader Dias over 12 years
      @kobaltz I don't want to disable all certificate checking, just this one
    • kobaltz
      kobaltz over 12 years
      correct, see my answer below.
    • arcadeprecinct
      arcadeprecinct almost 8 years
    • SierraOscar
      SierraOscar almost 8 years
      making it shorter avoids the error. It also works fine if I copy and paste the contents of the cell, rather than 'equalling' them. so what is your question then?
    • user1996971
      user1996971 almost 8 years
      I mean, I don't want to make the string shorter. I need the script to work on it as is. I mentioned this just to demonstrate that the length of the string was causing the error.
  • Jader Dias
    Jader Dias over 12 years
    I know this, I don't want to simply avoid this message. I want the machine to trust the invalid certificate.
  • kobaltz
    kobaltz over 12 years
    If you use Firefox, it will install the certificate as described above.
  • bgmCoder
    bgmCoder about 7 years
    What about in Firefox 51? I don't see the "I understand the Risks" link any more. I've searched the world over for a way to add an exception.