Commit Graph

283 Commits

Author SHA1 Message Date
Adil El Farissi
c2c3ca418a Basic implementation of SSL selfsigned certificates creation and renewal
Allows selfsigned certificates creation and renewal for local and external use. When enabled, will create a folder SSL\ and 2 sub folders SSL\ssl\ and SSL\src\. Next creates and store an RSA private key in SSL\src\ and the derived selfsigned certificates in SSL\ssl\ folder. Is also possible to renew the certificate on every server restart if CertRenewOnStartup is set to true.

Note: The SSL related params in the network section was adapted to be user friendly and allow the usage just by uncommenting the SSL params in both sections and a password change.
2024-08-16 22:53:04 +01:00
UbitUmarov
8569d47c76 move up to version 0.9.3.0Dev Nessie 2023-03-29 20:12:51 +01:00
UbitUmarov
8cb18e9eb2 fix a typo that was breaking lsl http service, and other things 2022-12-28 19:05:48 +00:00
UbitUmarov
d9380c9b83 clean some spurius chars and a few other things. Thanks Vincent Sylvester 2022-11-12 02:49:01 +00:00
UbitUmarov
70e50a4769 some more cosmetics on http server 2022-11-10 01:11:17 +00:00
UbitUmarov
fddb3761a0 use some shared char arrays on string split 2022-10-19 01:38:25 +01:00
UbitUmarov
31fa8b45df minor cleanup 2022-09-20 21:32:10 +01:00
UbitUmarov
e043d8a2eb use array.Empty<byte> 2022-03-12 15:21:24 +00:00
UbitUmarov
22e9f41502 move to version 0.9.2.2 2022-03-01 16:00:52 +00:00
UbitUmarov
3f584dbf12 add auxiliar httpresponse.Redirect(string url, [HttpStatusCode redirStatusCode = HttpStatusCode.Redirect]) 2021-12-20 11:07:26 +00:00
UbitUmarov
573a2432f7 move master to 0.9.2.1 Dev 2021-12-04 23:58:50 +00:00
UbitUmarov
aa796bb443 'cosmetics' 2021-09-02 21:36:28 +01:00
UbitUmarov
68f3b4aef8 reduce LogFailedXML dump to console to just 250 chars. 2021-08-26 21:48:58 +01:00
UbitUmarov
a8b37363b6 mantis 8925: avoid log noise due to bad http requests 2021-08-06 16:38:57 +01:00
Oren Hurvitz
c1a3185df3 HTTP Request Handlers: log the responses (previously we only logged the requests).
Note that this is separate from WebUtil, which we use to *send* HTTP requests: that
class always logged both the request and the response. In contrast, this commit
handles HTTP requests that are sent to OpenSim's web server.
2021-03-17 16:42:08 +01:00
Oren Hurvitz
a96ebc952b Log HTTP requests that arrive for SimpleStreamHandler's 2021-03-17 16:40:27 +01:00
UbitUmarov
3e113b4aec xmlrpc http hander: remove another temporary string 2020-12-01 13:17:54 +00:00
UbitUmarov
4ad892e090 reenable keepalive local override, + cosmetics 2020-11-29 12:29:18 +00:00
UbitUmarov
5552716724 xmlrpc handler, remove a useless tmp string, that can be large, and implicit convertions to utf-16 and back to utf-8, make the serielization be already utf8 2020-11-28 20:52:05 +00:00
UbitUmarov
bc1ea2ef3a cleanup 2020-10-01 02:10:32 +01:00
UbitUmarov
649e44792b mantis 8762: my coffee was broken again 2020-09-06 16:33:07 +01:00
UbitUmarov
a12f03ece0 mantis 8762: let it be less broken 2020-09-05 19:11:15 +01:00
UbitUmarov
e1b234d9d0 change show uptime to 24hour format 2020-06-09 02:20:35 +01:00
UbitUmarov
b598573f41 fix DataSnapShot 2020-05-22 16:55:20 +01:00
UbitUmarov
7c0b3387dd give up on simplehandler for root default get for now 2020-05-11 23:28:59 +01:00
UbitUmarov
c40b297fc7 (TEST) add a default root uri GET handler. this may be usefull for some cases. 2020-05-11 23:07:29 +01:00
UbitUmarov
713c222ec8 remove some redundancy 2020-05-11 15:12:21 +01:00
UbitUmarov
6d92b75452 more on end slash and uri handler determination 2020-05-11 13:01:27 +01:00
UbitUmarov
aafc6579a1 remove end slash from most URLs we send to viewers 2020-05-10 21:14:52 +01:00
UbitUmarov
c1d69018bd some viewers send '//' at end of url plus cosmetics 2020-05-09 18:54:51 +01:00
UbitUmarov
72c1c923f8 SampleMoneyModule: add private xmlrpc methods 2020-05-08 14:50:46 +01:00
UbitUmarov
c2c00c5d84 add httpserver HandleXmlRpcRequests with local set of xlmrpc methods 2020-05-08 14:37:08 +01:00
UbitUmarov
bf218f2cef make httpserver HandleXmlRpcRequests public 2020-05-08 05:26:25 +01:00
UbitUmarov
b5067baa4a it is nice to actually send the options back 2020-04-27 17:40:55 +01:00
UbitUmarov
89dee19060 move httpMethod OPTIONS handling to top, this needs to be chacked 2020-04-27 17:25:55 +01:00
UbitUmarov
9d08f8307e recover LLSD login handler 2020-04-27 14:35:19 +01:00
UbitUmarov
8900d1139e xmlrpc and josonrpc only allowed on uri root, and only those there 2020-04-26 23:05:27 +01:00
UbitUmarov
6050eff683 improve show http-handlers 2020-04-26 21:51:15 +01:00
UbitUmarov
473dba93e8 update show http-handlers 2020-04-26 17:03:16 +01:00
UbitUmarov
e0418da6e1 change region avatarhandlers 2020-04-26 16:54:58 +01:00
UbitUmarov
dcc2f764f2 add a /index.php fake handler, for map. only does ?method=.. but can be extended) 2020-04-25 23:24:00 +01:00
UbitUmarov
70d2878d0a simplify default 404 message, removing wrong(missing) host info 2020-04-25 21:13:54 +01:00
UbitUmarov
7f2cfe734b null uri path is already checked at low level 2020-04-25 14:10:59 +01:00
UbitUmarov
eae9928961 null method is already checked at low level, remove optional status 500 message 2020-04-25 13:45:45 +01:00
UbitUmarov
bac6890391 we can speedup some not simple StreamHandler a bit 2020-04-24 18:14:41 +01:00
UbitUmarov
8d2f90a8e2 let show http-handlers list simpleStreamHandlers 2020-04-24 00:24:02 +01:00
UbitUmarov
10988fe980 exclude root path from SimpleStremHandler 2020-04-23 18:29:45 +01:00
UbitUmarov
0fe51f34c2 add SimpleStrem(Request)Handler, for simple uripaths, any method or query 2020-04-23 18:23:43 +01:00
UbitUmarov
e818c570bb expose uripath 2020-04-23 18:16:56 +01:00
UbitUmarov
fefcda52f5 use concurrentdic on pollhandlers, simplify a bit 2020-04-23 16:04:54 +01:00