Data Source Securtiy with Certificate, load error?

Data Source Securtiy with Certificate, load error?

avatar

I setup certifacate security on my data source, it worked fine until i reinstalled RDM. Ive got the correct certificate and im sure ive got it in the right place as when i have it where ive got it now i dont receive the error saying the certificate could not be found. However i still cannot access my data source as i get a different error now: -

NullReferenceException - Object reference not set to an instance of an object.

at Devolutions.RemoteDesktopManager.Business.CertificateSecurityProvider.c2dab749017b269afda1c52e7deeb65bd(String cdbcc17aa9f8bf273407c569d137f3e9b, X509Certificate2 c720e1db3c7c3bfe82e2d23bc6beb8400)

at Devolutions.RemoteDesktopManager.Business.CertificateSecurityProvider.Initialize(IConnectionDataSource dataSource, String configuration)

at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.ca4799bebd8b706f34eea94a778843b55(BaseConnectionDataSource c01af917dca3518ff73ed69848f95f91a, Boolean cfe205b02d73750f8fd14d199343fe545)

at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections(BaseConnectionDataSource dataSource)

at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.RefreshConnections()

at Devolutions.RemoteDesktopManager.Forms.FrmMainRibbonBase.RefreshAllConnectionView(Boolean saveState, Boolean checkOnline)

at Devolutions.RemoteDesktopManager.Managers.MainFormManager.DoFirstLoad(IMainForm mainform)

at Devolutions.RemoteDesktopManager.Forms.FrmMainDocumentManager.cae3b4c7c167cf0d9747ac4fee11ac00a(Object c19f185fd70cefc696ba148af1c4faf54, EventArgs cf1018bb83ec7debd818319fd3cb4844e)

at System.Windows.Forms.Timer.OnTick(EventArgs e)

at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Is someone able to help as i cant access my data source now.

Thanks

JK

JK

Devolutions Force Member (and Long time Devolutions Fan)

All Comments (6)

avatar

Hi,

Are you exactly on the same machine? Could you try to recreate the data source?

Regards

David Hervieux

avatar

I am on the same machine and what do you mean by recreate it?? I have added it in as a data source if thats what you mean?

JK

JK

Devolutions Force Member (and Long time Devolutions Fan)

avatar

It seems that the certificate does not contains the private key. Did you export and re-imported the certificate?

Regards

David Hervieux

avatar

no its from Azure AD, is that the issue then no private key?? ill see if i can get it again.

JK

Devolutions Force Member (and Long time Devolutions Fan)

avatar

The certificate with the private key needs to be installed on your machine.

Regards

David Hervieux

avatar

Ive still got my windows.old folder so i should be able to recover the cert from the reghive from there i suppose.

thanks

JK

JK

Devolutions Force Member (and Long time Devolutions Fan)