A cross-platform self-ordering system for browsers
- Node.js (v16.18.0)
- MongoDB (4.0.28)
- Install MongoDB Server
- Create path
C:\data\db - Run with cmd at MongoDB Server bin folder
mongod
mongorestore --gzip --archive=[path to eso.gzip]- Run with cmd at project folder
npm install / yarn
npm run dev / yarn dev- Open https://eso.vcap.me:9000 in a browser (The hosts file
C:\Windows\System32\drivers\etc\hostsmust include line127.0.0.1 eso.vcap.me)
- Install certbot from
- Run CMD with admin privileges
certbot certonly --manual --preferred-challenges=dns --email nvbach91@gmail.com --server https://acme-v02.api.letsencrypt.org/directory -d *.itake.cz -d itake.cz- accept all questions
- deploy DNS TXT records in hosting provider management console.
- verify TXT records by running nslookup -type=txt _acme-challenge.itake.cz and then continue
- The certs will be generated at
C:\Certbot\live\itake.cz\ - Create a
.pfxfile by runningtype fullchain.pem privkey.pem > bundle.pem openssl pkcs12 -export -out "certificate_combined.pfx" -inkey "privkey.pem" -in "cert.pem" -certfile bundle.pem - In IIS Manager import the new
certificate_combined.pfxfile - Go to your sites and bind the certificate to your port 443 bindings
- Test it in your browser
- Next time only run
certbot renewand repeat step 4-7.