Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

How to handle certificate error in OneBox ?

(1) ShareShare
ReportReport
Posted on by 590
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
  • Suggested answer
    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
    Voltes 590 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
    Voltes 590 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
    Komi Siabi 12,748 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
    Shooowtek 735 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
    Voltes 590 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
    Voltes 590 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
    Komi Siabi 12,748 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans