Use computername in Cert name
Since the cert is self signed on each PC, it seems to be more appropriate to use the computer name as the Cert name
This commit is contained in:
parent
82cc90b4ba
commit
d2f77e3cbf
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ $folderselection.ShowDialog()
|
|||
|
||||
|
||||
$rdpFile = $folderselection.Filename
|
||||
$certSubjectName = "CompanyNameIT-RDP"
|
||||
$certSubjectName = $env:computername+"-RDP"
|
||||
$certSubject = "CN=$certSubjectName"
|
||||
|
||||
# 2. Check for existing certificate
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue