certificate bugfix for chrome 39+