Xcode 4 – “Valid signing identity not found” error on provisioning profiles on a new Macintosh install

With Xcode 4.2 and later versions, including Xcode 4.6, there is a better way to migrate your entire developer profile to a new machine. On your existing machine, launch Xcode and do this: Open the Organizer (Shift-Command-2). Select the Devices tab. Choose Developer Profile in the upper-left corner under LIBRARY, which may be under the … Read more

If I revoke an existing distribution certificate, will it mess up anything with existing apps?

There is no problem doing this unless you are on an enterprise account. Distribution certificates expire anyway, so eventually it will happen that you need a new one. Go ahead and delete away. You can also find this question asked, answered, and asked again many times over on the Apple Dev forums (e.g. here’s one), … Read more

Signing a Windows EXE file

You can try using Microsoft’s Sign Tool You download it as part of the Windows SDK for Windows Server 2008 and .NET 3.5. Once downloaded you can use it from the command line like so: signtool sign /a MyFile.exe This signs a single executable, using the “best certificate” available. (If you have no certificate, it … Read more

Trusting all certificates using HttpClient over HTTPS

You basically have four potential solutions to fix a “Not Trusted” exception on Android using httpclient: Trust all certificates. Don’t do this, unless you really know what you’re doing. Create a custom SSLSocketFactory that trusts only your certificate. This works as long as you know exactly which servers you’re going to connect to, but as … Read more

Using openssl to get the certificate from a server

With SNI If the remote server is using SNI (that is, sharing multiple SSL hosts on a single IP address) you will need to send the correct hostname in order to get the right certificate. openssl s_client -showcerts -servername www.example.com -connect www.example.com:443 </dev/null Without SNI If the remote server is not using SNI, then you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)