Just in case, I had this problem and it was driving me crazy. I ended up having a trailing space on keystore.p12, so it couldn't find it!