How do I resolve an expired x509 certificate issue while installing STS4 from Eclipse Marketplace? - x509certificate

I've just downloaded a fresh copy of Eclipse Version: 2022-09 (4.25.0) Build id: 20220908-1902 and fired up the Marketplace client to install Spring Tools 4 (4.16.0.RELEASE).
Edit: I should add that I used the same workspace as the previous version and chose to convert it for the latest version when prompted
I clicked "Install" and kept only the required features and then clicked "Confirm" and accepted the license agreements, then clicked "Finish".
While waiting for it to download and install, a "Trust" dialog popped up saying the two items have expired. One is "Pivotal R&D" and the other is "Pivotal ", they expired back in 2020 and 2018, respectively.
A Google search did not turn up similar issues reported by anyone. I'm not behind any firewall, proxy, or VPN. I would like to know how to proceed with the install without having to trust these expired certificates.
Dialog showing expired certificates

I filed an issue for this here: https://github.com/spring-projects/sts4/issues/852 - we basically need to update the signing information for those pre-built third-party bundles that we include in the Spring Tools 4 distribution builds.
In the meantime, unfortunately you need to trust the expired certificate to get the bundles installed.

Related

Cannot install/uninstall Drupal 7 module

I'm trying to install a modified version of the Rules HTTP Client module. But the problem is that I cannot install this because when I try to it tells me that "Rules HTTP Client" already installed.
So I tried to disable and uninstall the module first. I disabled it but then it is not listed in the uninstall tab.
I do not have access to the server on which the Drupal site is hosted so everything I do has to be through the admin dashboard on the site.
Previously I could just install a module and it would override the already installed module. Is there a way to uninstall this Rules HTTP Client module? And does anyone know why when disabled it does not show in the uninstall tab?
If the non-modified version doesn't appear in the uninstall tab, that's because it is already uninstalled or marked as uninstalled in database (you can check the schema_version in the system table, set to -1 means uninstalled).
However, the previous sources are probably still there and the former .info file in this case need to be removed or at least commented out depending on how you can access the server.

Unable to build for iOS after Sierra Update

I have had automated builds (iOS and Android) of my Cordova application working for several months and this last weekend it looks the version of Xcode got updated on my mac where I run the builds. My first problem was easy, just needed to accept the license agreement. However, the second issue I have not been able to find a solution. I am getting the same error as mentioned in this question.
No certificate matching 'iPhone Distribution: *****(******)' for team '******': Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning.
Unable to compile for iOS 10 after Sierra Update
However, I am not for sure how to try any of the sugested solutions since I am using the Visual Studio Team Services Extension for Cordova. I have the certificate and publishing profile files encrypted in the source. I also tried using the certificate and publish profile UUID.

/usr/bin/codesign failed with exit code 1 in Xcode 6.4 (yosemite 10.10.5) when trying to run on iPad

Everything started when I tried to create and validate my archive for the new app version.
My developer certificate expired, I revoked it (I didn't revoke distribution certificate it is still valid) and now it is up to date. I deleted my old associated provisioning profiled from Xcode and Xcode is configured to generate them automatically. After The provisioning profiles were not in my account. I was able to compile fine without errors using simulator, but I can not run app on my iPad. I deleted old app version (I could not find in iPad Settings->General any Profiles to delete since my version is iOS8.4 and it deletes it automatically) I don't know if I need to delete anything else on iPad?
Now when I try to run from Xcode app on iPad, I get this error:
Command /usr/bin/codesign failed with exit code 1
(see details below)
NOTE1: I don't get this error when I run it in the simulator, only when I chose to run on registered iPad
NOTE2: I was able to run app on this same iPad before I revoked the certificate.
NOTE3: I was able to create archive and submit the app before, problems started when certificates expired.
All troubles started after revoking the certificate.
I am running Xcode version 6.4
Mac has OS X Yosemite Version 10.10.5
Here is what I did so far:
After revoking certificates,I tried to delete provisioning profiles and restart Xcode, Mac and iPad and that didn't help.
I deleted old certificates from keychain, right now I have just the new up to date certificate in my keychain.
When I tried to run Xcode it asked me to fix non-existing provisioning profiles and it worked for simulator, but not for iPad.
I also looked in Xcode general settings for the build and tried various things, but that didn't help...
This didn't help too:
Xcode -> Preferences -> Accounts -> Choose your account, and then View Details -> Refresh (button on bottom left), Refresh again, restart Xcode
I tried to read developer guides for distribution, but troubleshooting suggestions how to run on development device didn't help, also I didn't find much about this codsign error.
I also downloaded new certificate WWDR from Apple, that didn't help.
I tried most of the things what people suggested related to this error posted, but didn't help...
One additional info:
My problem is also that I am trying to submit second version of the existing app, so I don't know what I can delete in order to be able to submit the updated version of my app again. If it was new project I would create new project from scratch and start from zero, but this happened just when I was ready to submit new archive...
Do you have any suggestion how to fix this issue, which steps to follow?
I would appreciate your pointers where to read or what to do.
If you need additional info from me, please let me know.
Thanking you in advance, -Tatjana
CodeSign /Users/t/Library/Developer/Xcode/DerivedData/K-eskcdowdkybtiygveputefcuziqr/Build/Products/Debug-iphoneos/K.app
cd /Users/t/Desktop/myProjects/K
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Developer: T... (G....)"
Provisioning Profile: "iOS Team Provisioning Profile: com.k.K"
(5....)
/usr/bin/codesign --force --sign D.... --entitlements /Users/t/Library/Developer/Xcode/DerivedData/K-e.../Build/Intermediates/K.build/Debug-iphoneos/K.build/K.app.xcent /Users/t/Library/Developer/Xcode/DerivedData/K-e..../Build/Products/Debug-iphoneos/K.app
CSSM_SignData returned: 8001094A
/Users/t/Library/Developer/Xcode/DerivedData/K-e..../Build/Products/Debug-iphoneos/K.app: errSecInternalComponent
Command /usr/bin/codesign failed with exit code 1

Xcode 4 'invalid signature' error

I have developed a mac app, and am trying to upload it to the mac app store, but am running into difficulties. Every time i try and submit or validate in Organiser, it comes up with the following error:
"The product archive package's signature is invalid. Ensure that it is signed with your "3rd Party Mac Developer Installer" certificate."
I have signed it with my installer certificate, and the application certificate, have downloaded the Worldwide Developer Relations certificate, but it still refuses to work. I have tried many of the solutions on the internet, but with no joy.
I can suggest to try signing your app from command line, using the /Developer/usr/bin/codesign tool:
codesign -s "name of your signing cert" /path/to/MyApp.app
codesign has a number of options and a man page. It may help spotting the issue you are experiencing.

How to install signing certificates so that they are listed in Xcode 4?

I need to code sign my Mac App. I obtained the certificates from the Apple's developer portal and would like to install it. The certificates are listed in Keychain Access. How to I go about doing this so that it is listed in Xcode 4?
Thanks.
I ran into a similar issue. In my case, it was caused by my installing the certificates in the incorrect ("System") keychain. They should be in the "login" keychain. The Keychain Access tool will let you drag and drop them into the login group.
This is what it should look like:
Once I did this, the signing option appeared in XCode:
I had reinstalled OSX without backing up my certificates. Therefore, when I re-downloaded it from Apple it will not work. I had to recreate the certificates from the Developer Certificate Utility for it to work again.

Resources