Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown publisher error when opening sts-4.28.0.RELEASE/SpringToolSuite4.exe #1472

Closed
ramunask opened this issue Feb 7, 2025 · 6 comments
Closed
Assignees
Labels
for: eclipse something that is specific for Eclipse type: bug type: install-issue

Comments

@ramunask
Copy link

ramunask commented Feb 7, 2025

Describe the bug

sts-4.28.0.RELEASE/SpringToolSuite4.exe cannot be opened in Windows 11 because of Unknown publisher error.

To Reproduce

Steps to reproduce the behavior:

Sample

Windows does not Root certificate from signature:

  • Serial Number: 07a4883ab28ef42dd78c5862cd19892df5563731
  • Subject: CN = DigiCert Private Shared Code Signing RSA Root CA, OU = Secure Software Manager, O = DigiCert, Inc., C = US

Image

@BoykoAlex
Copy link
Contributor

@ramunask I can start the STS app without the Defender complaining but if I look at the certificates via file properties I also see that the root certificate has a trust issue. I know that the certificate is ours and valid I'm just not sure if this is the right root certificate... trying to find this out. If it is the right root certificate and I need to find out how to download it (as I wasn't able to)
Once the certificate is downloaded you can added to trusted root certificates manually with these instructions: https://knowledge.digicert.com/solution/how-to-import-intermediate-and-root-certificates-using-mmc or https://learn.microsoft.com/en-us/windows-hardware/drivers/install/trusted-root-certification-authorities-certificate-store

@ramunask
Copy link
Author

Thanks @BoykoAlex . I know, that I can add root certificate to my Trusted Root Certificates list, but I do not want do this on company PC. I can't find nothing searching by this Root Certificate Serial Number 07a4883ab28ef42dd78c5862cd19892df5563731. Also there is no such certificate in https://www.digicert.com/kb/digicert-root-certificates.htm.

For example I checked earlier sts-4.22.0 version, and Windows shows valid certificate chain, see:
Image

P.S. on my personal PC, also with Windows 11, it runs even chain is invalid.

@BoykoAlex
Copy link
Contributor

BoykoAlex commented Feb 12, 2025

@ramunask Looks like our signing service has changed. I've adopted the changes and built a snapshot windows distribution. Please find any windows distribution on this page: https://cdn.spring.io/spring-tools/snapshot/STS4/nightly-distributions.html
I have this chain now:

Image

Looks very promising to me. Please give it try on your PC at work. Should work now.

If it does we can discuss whether we'd need a new release (4.28.1) to have this fixed urgently.

@ramunask
Copy link
Author

ramunask commented Feb 13, 2025

Please give it try on your PC at work. Should work now.

I checked these builds:

  • spring-tool-suite-4-4.29.0.202502122002-SNAPSHOT-e4.33.0-win32.win32.x86_64.zip
  • spring-tool-suite-4-4.29.0.202502122002-SNAPSHOT-e4.34.0-win32.win32.x86_64.zip
  • spring-tool-suite-4-4.29.0.202502122002-SNAPSHOT-e4.35.0-win32.win32.x86_64.zip

All has valid certificate chain:
Image

If it does we can discuss whether we'd need a new release (4.28.1) to have this fixed urgently.

I would say, that new release is needed.

@BoykoAlex
Copy link
Contributor

@martinlippert what do you think about us getting 4.28.1? Thinking of just releasing Eclipse side...

@BoykoAlex
Copy link
Contributor

Marking as fixed and preparing 4.28.1 release for Eclipse extensions

@BoykoAlex BoykoAlex added this to the 4.28.1.RELEASE milestone Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse type: bug type: install-issue
Projects
None yet
Development

No branches or pull requests

3 participants