In 2025 I just want to point out that Android studio does ship with keytool. In Windows 11 and 10 (where I tested this) you can find it in this path C:\Program Files\Android\Android Studio\jbr\bin
what you need to do is include this path in your path variables and keytool will work fine.