Giter VIP home page Giter VIP logo

lxd-webui's Introduction

LXD WebUI Build Status

Demo on http://aarnaud.github.io/lxd-webui/

Screenshot-details

Release builds

The release builds of static webapp is available on https://github.com/aarnaud/lxd-webui/releases

Build from sources

Follow the instructions in this link

Configuration on LXD

Allow LXD to listen on 8443 port

lxc config set core.https_address [::]:8443

Add CORS settings on LXD (Since LXD 2.0.0.rc2)

lxc config set core.https_allowed_origin "*" # SECURITY WARNING: prefer to restrict with lxd-webui url 
lxc config set core.https_allowed_methods "GET, POST, PUT, DELETE, OPTIONS"
lxc config set core.https_allowed_headers "Content-Type"
sudo service lxd restart # sometimes is required

Accept self-sign server certificate

Go on LXD server url (example: https://127.0.0.1:8443) with your browser.

Generate x509 certificate for browser authentification

  • Generate a client private key
openssl genrsa -out lxd-webui.key 4096
  • Generate a certificate request (csr)
openssl req -new -key lxd-webui.key -out lxd-webui.csr
  • Generate an auto-sign certificate
openssl x509 -req -days 3650 -in lxd-webui.csr -signkey lxd-webui.key -out lxd-webui.crt
  • Export keys to pkcs12 for use in browers
openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in lxd-webui.crt -inkey lxd-webui.key -out lxd-webui.pfx -name "LXD WebUI"
lxc config trust add lxd-webui.crt

lxd-webui's People

Contributors

aarnaud avatar ghoullier avatar jphilaine avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.