web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How to handle certificate error in OneBox ?

(1) ShareShare
ReportReport
Posted on by 596
Hi guys,
 
I've downloaded a demo VHD  about a year ago, and now it seems the certificate is expired. I'm googling and found this -> https://cloudblogs.microsoft.com/dynamics365/it/2018/04/24/rotate-the-expired-or-nearly-expired-certificates-on-your-downloadable-vhd/
 
which in summary told me to get the info of the certicates, which I did and this are the result :
 
 
May I know what should I put in this next step :

3. Obtain a new certificate for the expired certificate. 

Set-Location -Path “cert://LocalMachine//My” $OldCert = (Get-ChildItem -Path <Thumbprint>) New-SelfSignedCertificate -CloneCert $OldCert

 
The above is in that blog, however I confuse what should I type then ?  do I need to create the folder specified (/My ?) What exactly I need to do ?
 
Please help.
Thanks
I have the same question (0)
  • Suggested answer
    Community member Profile Picture
    2 on at
    How to handle certificate error in OneBox ?
    Hello, I performed the process above but still had trouble with the cloud.onebox.dynamics.com cert, below is a link that might help you. 
     
     
     
     
     
     
  • Voltes Profile Picture
    596 on at
    How to handle certificate error in OneBox ?
    Hi,
    anyone have some thought on this ? probably some idea what happened ?
    Thanks.
  • Voltes Profile Picture
    596 on at
    How to handle certificate error in OneBox ?
    Hi,
     
    I found some other blog which is more clear and direct telling us what to do -> https://ax.docentric.com/expired-certificates-renewal-in-d365fo/
    But after trying again in my other laptop which now has the same issue, it looks the same problem still persist.
     
    After renewing all the thumbprint, I have replaced the old thumbprint with the new one in WEB.CONFIG, WIF.CONFIG, WIF.SERVICES.CONFIG. Then restart my VM.
    The same error appeared although I open it in Edge Private Window.
     
    One thing make me curious though, if I run CERTMGR.MSC, I found this DeploymentOneBox certificate still displaying old ExpiredDate. Does it mean it does not take any effect ?



    My thumbprint after renew is clearly displaying two each with the second is the new one with expiration date on 2033->

     

    My VHD when I download if not mistaken is 10.0.26, then upgraded several time already until now 10.0.32 Update56.
     
    Anyone can help to guide me what is wrong ?
     
    Thanks.
  • Komi Siabi Profile Picture
    13,038 Most Valuable Professional on at
    How to handle certificate error in OneBox ?
    Hello Shooowtek, 
     
    Have you tried opening the URL in private window?
    Tell the current version on your VHD.
  • Shooowtek Profile Picture
    841 on at
    How to handle certificate error in OneBox ?
    Hi,
    I am struggling with the same problem. I seem to have done everything correctly, but unfortunately when run the D365 app, the browser keeps saying that the SSL certificate has expired, even though, it is already using a new certificate. I have already tried rebooting the machine and all processes - no result.
    Could someone please help?
     
  • Voltes Profile Picture
    596 on at
    How to handle certificate error in OneBox ?
    I tried to follow exactly from the given reference -> https://ax.docentric.com/expired-certificates-renewal-in-d365fo/
     
    And it is given me 5 licenses. and after execute all the renewal, like this:
     
    Then start to replace the old with new inside 3 files, web.config, wif.config and wif.service.config. 
     
    But apparently after restart my DevBox, the error still persist.
     
    Any idea what happened ? Thanks.
  • Voltes Profile Picture
    596 on at
    How to handle certificate error in OneBox ?
    Hi Komi,
     
    So, in this case, I should change for all 11 Thumbprint ?
     
     
  • Suggested answer
    Komi Siabi Profile Picture
    13,038 Most Valuable Professional on at
    How to handle certificate error in OneBox ?
    Hi Voltes, 
     
    You are to replace the certificate to replace in the script.
     
    $Thumbprint = (get-childitem -Path 01F93A5974A14DC3B40F1CF0BE78127974187BE5 )
    New-SelfSignedCertificate -CloneCert $Thumbprint -NotAfter (Get-Date).AddMonths(120)
     
    Check this URL.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 814 User Group Leader

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 798 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 622

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans