Hi, I have struggles with generating certificate and key for bundling apk.
I have tried openssl tool and I have failed in it. I have read some information about it here link
and have found some fragmented informations on the forum but nothing works for me.
My background is from design and now whole game I’ve made by myself but some things are to persistent on the beginning.
If you work on Windows PC it will be a bit weird. When I generated my keys I haven’t found a workable openssl tool for Win. And solved this question after install a … small linux terminal for Win. https://www.cygwin.com is it. Also you can turn on ubuntu terminal as extension in Windows 10.
When building an Android app it needs to be cryptographically signed using a certificate and a key. This is similar to the process required when creating an iOS app, and it’s not something specifically required by Defold, but rather by Google and Apple.
When publishing to the Google Play Store you need to generate the certificate and key yourself, using the instructions provided on the page you linked. You basically run a series of commands from a terminal:
This will result in two files, certificate.pem and key.pk8. When you bundle your app from within Defold you specify these files.
Note that you can skip this step and let Defold generate a key and cert for you when you bundle. The thing is that this will be a generated debug cert that is useful while developing, but not for publishing to Google Play.
Yeah, windows command prompt, Mac terminal or Linux shell. Different names for the same thing. If windows doesn’t provide the openssl command then yes, you need to install it somehow. Google for help. Another option that was pointed out is to install another kind of command prompt tool called Cygwin.