-
nikolam
What should I do with expired self-signed certificate for webui on standalone SmartOS host?
-
nikolam
Just leave it like that and accept it is expired forever or renew it somehow?
-
nikolam
Btw,
log.omnios.org/smartos seems to require now use of fonts.googleapis.com and/or gstatic.com JavaScripts , that could be used for visitor IP tracking, so privacy-wise IRC log is not usable...
-
nikolam
Now I went to
log.omnios.org and then on smartos log and now it works.. weird
-
nikolam
Still, no results on IRC log search there, if not enabling gstatic.com scripts...
-
ELENORO
sorry about the nick change, someone was being extremely silly
-
nikolam
Oh I have seen now answers on #smartos from the other day, yeah uiadm needs cert/key change/refresh option or some other quick solution
-
nikolam
Also it could be problematic with Webui that it allows logging in with username (root obviously.. maybe if it could be changed to something else..) and password. And no option to log in with certificate, like ssh session can be restricted to logging in with the key for root and disabling password login
-
jzu
tsoome: it doesn't actually output anything when I run the installer script, I suspect it's not able to downloa the actual installer.
-
jzu
that was re: webui
-
jzu
it generated empty tmp file, ie. /tmp/ui-installer.xVa.bt
-
tsoome
ksh -x or something?
-
jzu
-
jzu
SmartOS (build: 20240312T051716Z)
-
tsoome
-
tsoome
I think, that should get you a file;)
-
tsoome
but apparently that installer script does something wrong....
-
jzu
-
tsoome
curl from your paste line 10 is supposed to fetch the resolved name (from symlink, I suppose)
-
tsoome
ah, its bash script, not ksh...
-
tsoome
I think I have used that installer only once:P
-
tsoome
should try it more often, I suppose...
-
jzu
so is that installer supposed to create a zone or such? guess I'm missing the file doing that bit.. tar.gz doesn't feel like it's enough :)
-
tsoome
ok, your issue starts from fact that at line 11, you have empty string, because of failed curl -sf
us-central.manta.mnx.io//Joyent_Dev…lic/builds/smartos-ui/master-latest
-
tsoome
if you run this curl command manually, whay you get?
-
tsoome
what*
-
tsoome
the installer is apparently there: curl -L -o /tmp/ui-installer.ZLaofh -sf
us-central.manta.mnx.io/Joyent_Dev/…02001Z-g0cb73e8/smartos-ui/uiadm.sh
-
jzu
/Joyent_Dev/public/builds/smartos-ui/master-20250326T202001Z-g0cb73e8
-
tsoome
and after you do chmod +x and then you run /tmp/ui-installer.ZLaofh install -b master latest
-
tsoome
ok, so now you got the expected output
-
tsoome
what is output from bash -x ui-installer.sh ?
-
jzu
ah now I got it working using that curl.
-
tsoome
curl -sf does make curl silent (-s) and -f does tell to exit with error code (no ouptut) in case of errors
-
tsoome
so apparently that curl -sf did got some sort of error, but the reason was hidden.
-
tsoome
the installer does enable webui on your smartos global zone.
-
jzu
yeah, it's there now: Service running at
192.168.2.180:4443
-
tsoome
Connecting to 192.168.2.180:4443... failed: Connection refused. :P
-
tsoome
;)
-
jzu
;(
-
tsoome
I wonder, where it got that response from:P
-
tsoome
ah, the router did tell this.