You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mssql): add digital signed cert instructions (#478)
* feat: add directions how to digitially sign powershell scripts using self signed cert
* fix: address possible permission error with Azure SQL Database
---------
Co-authored-by: Shane Borden <[email protected]>
Copy file name to clipboardExpand all lines: docs/user_guide/sqlserver/collection_scripts.md
+44-1Lines changed: 44 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -294,9 +294,52 @@ This is recommended if you plan to upload the results to the Migration Center.
294
294
295
295
!!! IMPORTANT Do not modify the name or the contents of the zip file without consultation from Google.
296
296
297
+
## Digitially Signing Powershell Scripts (Optional / Only if Necessary)
298
+
299
+
Occasionally, organizational security policies require that Powershell scripts be digitally signed before they can be executed. Google will not provide a certificate to do this, however, the customer can create a self-signed certificate and then sign the scripts on their own using the following steps:
300
+
301
+
- Create directory to store the certificates
302
+
- $PSScriptRoot\_Certs\
303
+
304
+
- Assign directories to variables
305
+
- $certExport = "C:\$PSScriptRoot\_Certs\"
306
+
- $ScriptRepo = "C:\$PSScriptRoot"
307
+
308
+
- Create variable params with relevant information to create the self signed certificate
309
+
$params = @{
310
+
Subject = 'Google DMA Self Signed PS Code Signing'
0 commit comments