Hi,

I've just verified that this is actually working. Keep in mind that the 
Play framework will generate a self-signed X.509 key pair if you didn't 
provide a proper Java key store with the private key and your own 
certificate. Additionally, the root directory of the Play application is 
being used to store the generated key store, so you have to ensure that the 
Graylog web interface can actually write into that directory.

$ bin/graylog-web-interface -Dhttps.port=8443
Play server process ID is 63651
[info] play - Application started (Prod)
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
[info] play - Listening for HTTPS on port /0:0:0:0:0:0:0:0:8443
[warn] play - Using generated key with self signed certificate for HTTPS. 
This should not be used in production.
[info] play - Generating HTTPS key pair in 
.../graylog-web-interface-1.3.3/conf/generated.keystore - this may take 
some time. If nothing happens, try moving the mouse/typing on the keyboard 
to generate some entropy.

$ curl -I -k https://localhost:8443/login
HTTP/1.1 200 OK
Content-Length: 3023
Content-Type: text/html; charset=utf-8
Set-Cookie: PLAY_FLASH=error=No+Graylog+servers+available.+Cannot+log+in.; 
Path=/; HTTPOnly
X-UA-Compatible: IE=edge


In any case, the functionality is working and you should check the error 
logs of your Graylog web interface setup.


Cheers,
Jochen

On Monday, 25 January 2016 13:22:11 UTC+1, Xisco wrote:
>
> Hi again Jochen,
>
> I try this, but dont work for me.
>
> # HTTP server settings.
> GRAYLOG_WEB_HTTP_ADDRESS="0.0.0.0"
> GRAYLOG_WEB_HTTP_PORT="9000"
>
> # Might be used to adjust the Java heap size. (i.e. "-Xms1024m -Xmx2048m")
> GRAYLOG_WEB_JAVA_OPTS="-Dhttps.port=443"
>
> # Pass some extra args to graylog-web. (i.e. "-d" to enable debug mode)
> GRAYLOG_WEB_ARGS=""
>
> # Program that will be used to wrap the graylog-web command. Useful to
> # support programs like authbind.
> GRAYLOG_COMMAND_WRAPPER=""
>
> You can give an example of settings?
>
> Thx
>
> El viernes, 22 de enero de 2016, 21:18:12 (UTC+1), Manu escribió:
>>
>> Hi,
>>
>> Is it possible to configure configure graylog-web for autostart with 
>> -Dhttps.port=443?
>>
>> I have debian 8 with last version graylog server and web.
>>
>> systemctl start graylog-web.service , only start at port 9000 and I can 
>> not find where to configure this option.
>>
>> Thx
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/7c87f736-8584-4cb4-9f4a-8b891afddec8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to