mkcert icon indicating copy to clipboard operation
mkcert copied to clipboard

How to install on linux x86 ?

Open holden321 opened this issue 4 years ago • 2 comments

Hello! Is it possible to run mkcert in x86 OS? There is no pre-built binary for x86: https://github.com/FiloSottile/mkcert/releases Brew needs x64. Building from source code does not work also.

I tried to make pem-files on x64 system and then copy them to the x86 system, but that does not work - browser does not like it very much: NET::ERR_CERT_AUTHORITY_INVALID

Adding certificate to the trusted also not work.

So, as I understand you need to run "mkcert -install" to make it work properly.

But how to run "mkcert -install" on the x86 ? :)

My OS is "Ubuntu 14 x86"

holden321 avatar Jun 08 '21 12:06 holden321

search "install cert into " in your favorite search engine.

minecraftchest1 avatar Aug 24 '21 20:08 minecraftchest1

How to install Mkcert:-

1)From your home folder, Need to wget the ?latest? release & specify where to put it -> sudo wget https://github.com/FiloSottile/mkcert/releases/download/v1.4.3/mkcert-v1.4.3-linux-amd64 -O /usr/local/bin/mkcert

2)Then change permissions: sudo chmod +x /usr/local/bin/mkcert

3)Now cd into the folder if need be and run: mkcert -install

4)Need to install local certificates for localhost: mkcert localhost

In your VSCode Json file, the location of certificates may be specified otherwise they have to be home in a local folder.

aindriu80 avatar Sep 06 '21 11:09 aindriu80