Slow initial connection to database (php / mssql)

Our webserver and database server are on a local network and the webserver uses an IP address to connect to the database. $con = new \PDO(‘sqlsrv:Server=10.200.2.1\sql2017;Database=dbname, $user, $pass); $con->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); The first page that calls this code will take about 4 seconds to run just the above code. Then I can refresh the page as…

AD CS Configuration Using Install-AdcsCertificationAuthority Cmdlet

I am trying to configure a subordinate CA using a .PFX file with PowerShell. I am using the below parameters: $params = @{ CAType = “EnterpriseSubordinateCA” Credential = $credential CertFile = C:\PKI\MyCert.pfx CertFilePassword = $password } Install-AdcsCertificationAuthority @params -Whatif What if: Certification authority will be installed with the following properties: CAType: EnterpriseSubordinateCA … … CryptoProviderName:…