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

Installation recommendation #15

Closed
mrbluecoat opened this issue Mar 6, 2021 · 3 comments
Closed

Installation recommendation #15

mrbluecoat opened this issue Mar 6, 2021 · 3 comments
Assignees

Comments

@mrbluecoat
Copy link

mrbluecoat commented Mar 6, 2021

I tried

go get github.com/globalsign/est
go install github.com/globalsign/est/cmd/estserver
go install github.com/globalsign/est/cmd/estclient

but it gave me these errors:

go install github.com/globalsign/est/cmd/estserver
    go/src/github.com/globalsign/est/internal/mockca/ca.go:39:2: cannot find package "github.com/globalsign/pemfile" in any of:
        /usr/lib/go-1.14/src/github.com/globalsign/pemfile (from $GOROOT)
        /root/go/src/github.com/globalsign/pemfile (from $GOPATH)
go install github.com/globalsign/est/cmd/estclient
cannot find module providing package github.com/globalsign/est/cmd/estclient: working directory is not part of a module

Instead, I just used this for installation:

go get -u github.com/globalsign/est/cmd/estserver
~/go/bin/estserver -version
go get -u github.com/globalsign/est/cmd/estclient
~/go/bin/estclient version
@mrbluecoat
Copy link
Author

It also took a minute to figure out the help command for the server and client are different:

estserver -help
estclient help

@paulgriffiths
Copy link
Contributor

It also took a minute to figure out the help command for the server and client are different:

estserver -help
estclient help

This difference is deliberate, since the client has a command subsystem and the server does not.

estclient -help will give a message showing the correct way to invoke the help system. But estserver help will ignore the argument and start the server. For consistency, this should also show a help message. Separate ticket raised.

@paulgriffiths paulgriffiths self-assigned this Mar 8, 2021
@toddgaunt-gs
Copy link
Collaborator

Resolved with #26

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

3 participants