You need to use a file path for specifying key files. E.g. file://path/to/your/key/file.
- Sijie On Fri, Jun 5, 2020 at 11:38 AM Jon Arce <[email protected]> wrote: > Client authentication using tokens based on JSON Web Tokens > I am following the JWT document on link: > https://pulsar.apache.org/docs/en/security-jwt/ > and when I try to create key pairs I got a WARNING, but NO keys are > generated: > > $ pulsar tokens create-key-pair --output-private-key wk_private.key > --output-public-key wk_public.key > Password: > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > org.bouncycastle.jcajce.provider.drbg.DRBG > (file:/opt/pulsar/lib/org.apache.pulsar-bouncy-castle-bc-shaded-2.5.2.jar) > to constructor sun.security.provider.Sun() > WARNING: Please consider reporting this to the maintainers of > org.bouncycastle.jcajce.provider.drbg.DRBG > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > > Any advice? >
