Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kas-registry create command does not support a port in the remote public key URI #375

Open
jp-ayyappan opened this issue Sep 10, 2024 · 0 comments

Comments

@jp-ayyappan
Copy link

Tried creating
./dsp tructl policy kas-registry create -r https://local-dsp.virtru.com:8080/kas/v2/kas_public_key -u https://local-dsp.virtru.com:8080/kas

Error returned is:

ERROR    Failed to create Registered KAS entry: rpc error: code = InvalidArgument desc = validation error:                                                                                                                                                 
             - public_key.remote: URI must be a valid URL (e.g., 'https://demo.com/') followed by additional segments. Each segment must start and end with an alphanumeric character, can contain hyphens, alphanumeric characters, and slashes. [uri_format]

./dsp tructl policy kas-registry create -r https://local-dsp.virtru.com/kas/v2/kas_public_key --uri https://local-dsp.virtru.com:8080/kas seems to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant