2019-05-15

Powershell New-PSSession The SSL certificate is signed by an unknown certificate authority

Error:
Connecting to remote server SERVER failed with the following error message : The server certificate on the
destination computer (SERVER:443) has the following errors:   
The SSL certificate is signed by an unknown certificate authority. For more information, see the about_Remote_Troubleshooting Help topic.

+ $Session = New-PSSession -ConfigurationName Microsoft.Exchange -Conne ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : 12175,PSSessionOpenFailed


Fix:
$userID = "user@server"
$userIDpass = "password"
$password = ConvertTo-SecureString -AsPlainText -Force -String $userIDpass
$credential = New-Object System.Management.Automation.PsCredential($userID,$password)
$sessionOption = New-PSSessionOption -SkipRevocationCheck -SkipCACheck -SkipCNCheck
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://SERVER/powershell/ -Credential $credential -SessionOption $sessionOption



2019-05-03

Все расширения Google Chrome 71 исчезли. All Google Chrome 71 extensions have disappeared.


После потери питания (или падения) Google Chrome 71 - все расширения пропали, иконок нету, в chrome://extensions/ - пусто.

Обычно профиль находится тут

  • Windows 7, 8, 10: C:\Users\имя пользователя\AppData\Local\Google\Chrome\User Data\Default
  • Mac OS X: Users/имя пользователя/Library/Application Support/Google/Chrome/Default
  • Linux: /home/<username>/.config/google-chrome/default

Находим где установлен Google Chrome (в винде), открываем chrome://version/
Profile Path:
Путь к профилю:

Переходим по этому пути и заходим в папку Extension State
Находим файлы *.ldb
Смотрим по размеру и берём файл .ldb с самым маленьким размером
Открываем этот файл и делаем поиск такой строки "title":"

"title":"Adblock Plus"
"title":"Tampermonkey"
"title":"friGate

И т.д., в этом файле весь список пропавших расширений (настройки расширений остались в Chrome), добавляем руками все нужные расширения.