Generate public key from private key aws. pfx -nocerts -out priv.