Posts

Showing posts from 2022

Exchange 2016 Transport Service Will Not Start and FIP-FS Scan Engine has Failed

Image
 Exchange 2016 Transport Service Will Not Start The Trifecta of Exchange Woes You see events indicating that the self signed exchange certificate is missing.  No Mail is being delivered, SMTP is failed, message queue is backing up from your front end mail filter service, i.e. proofpoint or vipre service. and you see events showing that FIPS is not starting and certificates are not accepted Certificate Issue. See Step 2 FIP-FS scan engine issue. See Step 1 Best thing to do is to turn it off completely.  EventID 5300 has been the bane of our existence. Steps: 1. Disable Scan Engine in Powershellx64 Change the execution policy for PowerShell: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned. Download the script:  https://aka.ms/ResetScanEngineVersion Use elevated Exchange Management Shell, run on every server. 2. In IIS look for "Exchange Back End", then SSL Settings, then Bindings, then make sure a valid certificate is assigned. 3. Finally, Start the "Microsoft Exchange T

OpenSSL CSR Cookbook

Image
The Most Common Usage Making a CSR for www.ballersbank.com and ballersbank.com. using the openssl command on ubuntu or any other kind of linux. openssl req -new -newkey rsa:2048 -nodes -out mycert.csr -keyout myprivate.key -subj "/C=US/ST=CA/L=Irvine/O=Ballers Bank of Amerika/OU=IT Dept/CN=www.ballersbank.com" A CSR With Multiple SAN first thing to do is to make a file called san.cnf with the following, for example [ req ] default_bits       = 2048 distinguished_name = req_distinguished_name req_extensions     = req_ext [ req_distinguished_name ] countryName                = US stateOrProvinceName        = CA localityName               = Irvine organizationName           = Ballers Bank of Amerika commonName                 = ballersbank.com [ req_ext ] subjectAltName = @alt_names [alt_names] DNS.1   = services.ballersbank.com DNS.2   = banking.ballersbank.com DNS.3   = savings.ballersbank.com DNS.4   = loans.ballersbank.com then run this command: openssl req -out ss

All of the Best Exchange Server Fixes, including FIPFS service

Image
 When you start seeing "Microsoft Exchange Server Auth Certificate" expirations https://www.zubairalexander.com/blog/dealing-with-a-missing-microsoft-exchange-server-auth-certificate-that-causes-federation-or-auth-certificate-not-found-warnings/ Sometimes you see this message when you use OWA or ECP. OWA Login Error "Something went wrong We can't get that information right now. Please try again later. X-FEServer: <server>" The above blog will resolve it. Powershell: Change the Current Configuation Domain Controllers This command below will show the current configuration Get-ExchangeServer -Identity "exmail" -status | fl the commands below will change the configuration Set-ExchangeServer -Identity "exmail" -StaticDomainControllers "VM-HIP-DC-BAK2.hippopool.com" Set-ExchangeServer -Identity "exmail" -StaticGlobalCatalogs "VM-HIP-DC-BAK2.hippopool.com" Set-ExchangeServer -Identity "exmail" -StaticCon

Remove Security Protections from Adobe PDF

Image
Remove Security from Adobe If you can open and read it, but you just want to be able to extract pages and edit the document. use ghostscript Uses ghostscript... gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.pdf Just a tip Use PDFCPU from github https://github.com/pdfcpu/pdfcpu If you try to print to a PDF you will see this error: ProductName: Distiller This PostScript file was created from an encrypted PDF file. Redistilling encrypted PDF is not permitted. Flushing: rest of job (to end-of-file) will be ignored Warning: PostScript error. No PDF file produced. Good Luck, guys!

Outlook VBA Macro Scripting Example #1

Image
 First Example of Outlook VBA Scripting in Application->Startup Option Explicit Private WithEvents inboxItems As Outlook.Items Private Sub Application_Startup () Dim outlookApp As Outlook.Application Dim objectNS As Outlook.NameSpace Set outlookApp = Outlook.Application Set objectNS = outlookApp.GetNamespace( "MAPI" ) Set inboxItems = objectNS.GetDefaultFolder(olFolderInbox).Items End Sub Private Sub inboxItems_ItemAdd ( ByVal Item As Object ) On Error GoTo ErrorHandler Dim Msg As Outlook.MailItem Dim MessageInfo Dim Result If TypeName(Item) = "MailItem" Then MessageInfo = "" & _ "Sender : " & Item.SenderEmailAddress & vbCrLf & _ "Sent : " & Item.SentOn & vbCrLf & _ "Received : " & Item.ReceivedTime & vbCrLf & _ "Subject : " & Item.Subject & vbCrLf & _

How to Import Call History from Shoretel 14.2 to Mitel Connect Build 22.13

Importing Call History During A Shoretel to Mitel Upgrade First a little background.  On Shoretel and Mitel systems store the call history for each extension in a SQL Lite database that is stored outside the main CDR and Config databases. The Shoretel Communicator application reads this file directly to get the history.   What you will need to do this task:  sqlite3.exe and sqlite3.dll from the new mitel server, you can get this from anywhere really.  Plus you will need the mysql command line tool on both servers. Open a dos prompt to perform all  of these tasks.   Open a cmd.exe prompt, make a directory called \Temp to do all of your work. First Step is to find the UserData folder: usually is located here on both Mitel and Shoretel:  C:\Shoreline Data\UserData\<hash code>\ in mysql command line, using the Shoreware database, look for the user's DN to get the hash code folder name.  If you need help using the mysql command line, see my other shoretel related postings for the