Can I use my Apple Developer ID signing certificate on a Windows 7 machine? - sign

I used Windows Explorer to "Install Certificate" for my certificate on my Windows 7 build machine. But I could not sign a file:
> signtool sign /a exefile
SignTool Error: No certificates were found that met all the given criteria.
Thinking that signtool needed the p12 file but wasn't saying anything, I then used Windows Explorer in an attempt to "Install PFX" but got an error from the Certificate Import Wizard saying "The Specified file is empty.".
Do I really have to do this whole "obtain a signing certificate" process all over again for each build machine platform type (macOS, Windows, Linux)?

Yes, you can use the certificate so long as you correctly export the cer and p12 files from the macos host and install them correctly on the windows host. I used the macos keychain app to export the certificate two times, once to export the cer file and again to export the p12 file. The reason my first attempt failed is because the p12 I assumed was correct was not at all correct. After I exported correctly, I was able to use windows explorer to double click on the two files and install them.

Related

Connect Tableau to Athena on Mac OS

Tableau Version 2021.1.2
Java Version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode, sharing)
I placed the driver under ~/Library/Tableau/Drivers, but consistently getting the error message as shown in the attachment.Error Message from Tableau Desktop
I think that you are placing drivers in the wrong folders, you have to copy the .jar file inside the folder
C:\Program Files\Tableau\Drivers
If it doesn't exist you have to create it.
From the Tableau Drivers download page:
Follow these steps to install the JDBC driver for Amazon Athena on
your Windows computer:
Download the JDBC driver (.jar file) from the Amazon Athena User Guide
on Amazon's website. Move the downloaded .jar file to C:\Program
Files\Tableau\Drivers.
Try putting it as
/Users/<username>/Library/JDBC/AthenaJDBC42.jar
Try to unhide the hidden folder from the account which you mainly sign in from your Mac because there is a hidden Library folder where you would need to put the appropriate jar file in that's located in the folder.
My url was Computer/MacintoshHD/Users/myusername/Library
This is the Library directory where I pressed shirt+command+. to unhide it. There, you should be able to find an already created Tableau Folder which contains another directory known as Driver. You would need to place the appropriate jar file in the Driver folder.
Hope this helps!

How to install custom Credential Provider in Windows 8

I want to "install" a credential provider.
What I have already done:
I installed a vm with windows 8.1. Downloaded the Windows 8 Sample. Built the dll with Visual Studio. Copied the dll to the System32 folder in my VM and executed the register.reg file in the VM.
So I´m asking if these steps were right and if the dll file should have a special name?
look at:
https://github.com/DavidWeiss2/windows-Credential-Provider-library
the most relevant link from there is:
Credential Providers in Windows 10 - Microsoft Windows 10 summary page in the MSDN (still kind of a WIP)

Loading .pem onto puttygen error

I'm trying to setup my AWS for an ubuntu VM. For this with putty, I'm using puttygen to get .ppk file from .pem (from AWS) and then I got an error message as shown below.
The environment is Windows 10. I actually tried this process on another Windows device and everything worked fine but not on mine. I assume that my laptop has some trouble with recognizing .pem file. Anyone has any better idea?
Thanks
PuTTYgen, Release 0.73, Build platform: 64-bit x86 Windows
.Per file need to:
1. Encoding should be UTF-8 (not UTF-8 BOM or something else)
2. Check end of file symbols, need to be Windows CR LF
3. After "-----END RSA PRIVATE KEY-----" need to have an empty line

Codename One: Android release build

I'm currently having problems building a release-version for Android.
The keystore file/password/alias are correct and I've set "Generate Builds" to release, but I'm still getting the following notification:
Warning: Building for Android without a valid certificate will produce a temporary certificate that cannot be used for redistribution of applications. Its very easy and free to create an Android certificate, see: http://www.codenameone.com/signing.html
I have successfully used this certificate before, about two years ago...
I'm using NetBeans 8.1 with the CN1-plugin 3.3.2.
Is there a way to fix this?
That means Codename One didn't find the file or the password/alias are incorrect.
You can use the keytool to verify this:
keytool -list -v -keystore full_path_to_keystore -alias myalias
Make sure the alias/path are identical to what you see in NetBeans.

How do I specify a publisher for the setup.exe when a setup CD is autoplayed in Windows

I have a setup CD to install a visual studio C++ application I made. The AutoPlay popup shows "Publisher not specified" for running setup.exe. How do I specify a publisher?
You need to Sign the executable with a digital certificate. This is to verify that the executable has not been tampered with and is from the publisher.