If you are using Cameyo Native Player (Windows) you might encounter the following warning when starting a session:
This is due to the fact that we generate a self signed certificate for the original name of the server (which is in most cases PLAY) and this DNS name doesn't match with the DNS server name.
In order to solve that
- create a custom (PKCS12) certificate for the name you are accessing the server (e.g. app01.mydomain.tld)
- places the certificate (*.pfx) on the Cameyo server
- run the following PowerShell script (in elevated mode)
Function Show-FileDialog($initialDirectory) { [System.Reflection.Assembly]::LoadWithPartialName(“System.windows.forms”) | Out-Null $OpenFileDialog = New-Object System.Windows.Forms.OpenFileDialog $OpenFileDialog.initialDirectory = $initialDirectory $OpenFileDialog.filter = “Certificate files (*.pfx)| *.pfx” $OpenFileDialog.ShowDialog() | Out-Null $OpenFileDialog.filename } $CertFile = Show-FileDialog $mypwd = Get-Credential -UserName 'Enter password below' -Message 'Enter PFX password:' $params = @{ FilePath = $CertFile CertStoreLocation = 'Cert:\LocalMachine\My' Password = $mypwd.Password } Import-PfxCertificate @params | Out-Null $params.CertStoreLocation = 'Cert:\LocalMachine\Remote Desktop' $cert = Import-PfxCertificate @params $thumb = $cert.Thumbprint $TSGeneralSetting = Get-WmiObject "Win32_TSGeneralSetting" -ComputerName $env:COMPUTERNAME -Namespace root\cimv2\terminalservices -Filter "TerminalName='RDP-tcp'" $TSGeneralSetting.SSLCertificateSHA1Hash = $thumb $TSGeneralSetting.Put()
- Select the certificate file from the file open dialog
- Enter the password for the certificate file
- Done
Your Native Player won't show a warning anymore. The change is immediate, no need to restart any services.
BE AWARE that you only can import your own custom domain certificates. If you are using Cameyo certificates (*.cameyo.net) you have to request this by opening a support ticket.