Comments (3)
same on clean system
3 sudo service lxd status
4 sudo apt-get install npm
5 sudo npm install -g bower
6 sudo service apache2 status
7 sudo apt install apache2
8 cd /var/www/html/
10 sudo git clone https://github.com/dobin/lxd-webgui.git
11 cd lxd-webgui
13 sudo ln -s `which nodejs` /usr/bin/node
14 sudo bower install
16 sudo chown test:test -R ../lxd-webgui
18 sudo chown test:test -R /home/test/.config/configstore/
20 sudo chown test:test -R /home/test/.config
22 sudo npm install angular
23 bower install
24 cd ~
25 ls
26 openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes
27 cd /var/www/html/lxd-webgui/
28 openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes
29 cd ~/
30 mkdir lxc-cert
31 cd lxc-cert
32 openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes
33 openssl pkcs12 -export -out cert.p12 -inkey key.pem -in cert.pem
34 lxc config trust add ./cert.pem
37 nano /etc/apache2/apache2.conf
39 sudo cp cert.pem /etc/ssl/certs/
40 sudo cp key.pem /etc/ssl/private/
41 sudo chmod 0600 /etc/ssl/private/key.pem
42 sudo a2enmod ssl
43 sudo a2ensite default-ssl
44 sudo nano /etc/apache2/sites-enabled/default-ssl
45 sudo nano /etc/apache2/sites-enabled/default-ssl.conf
46 sudo service apache2 restart
50 sudo lxc config set core.https_allowed_methods "GET, POST, PUT, DELETE, OPTIONS"
51 sudo lxc config set core.https_allowed_headers "Origin, X-Requested-With, Content-Type, Accept"
52 sudo lxc config set core.https_allowed_credentials "true"
53 sudo lxc config trust add /etc/ssl/certs/cert.pem
54 sudo lxd restart
55 sudo service lxd restart
lxd log sais:
ip=...:64143 lvl=warn msg="rejecting request from untrusted client" t=2017-02-10T00:18:32+0300
browser = firefox
cert.c12 imported
from lxd-webgui.
Can you try opening https://localhost:9000 with the browser, and accept the certificate warning? Imho this should solve this issue.
https://github.com/dobin/lxd-webgui#start
from lxd-webgui.
Fix would be to implement #22
from lxd-webgui.
Related Issues (20)
- Common SSL/certificate problems
- Cannot download ubuntu 16.04
- Reload image list periodically
- Container creation: check container name
- container rename: dont allow while container is running
- Somehow have the ability to save previous configuration HOT 7
- remote images is broken again HOT 1
- Cors error when attempting to access webgui HOT 3
- Minimum Ubuntu / LXD Version
- I am seeing only setting page. Why? HOT 9
- following setup steps .. error couldn't find node HOT 9
- Does lxd-webgui support both local & remote lxd containers HOT 1
- Support multiple LXD server HOT 1
- LXD-WEBGUI network access - cmd question HOT 3
- Could not get config from server: https://<my webgui IP address>:8000 HOT 3
- certificate confirmation HOT 1
- Couldn't get config but API access Ok HOT 9
- Cannot get this to work with Firefox HOT 6
- Errors When Installing lxd-webGUI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxd-webgui.