[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Running the static_website_tls example



> what do I need to do to be able to run the static_website_tls example from
> the mirage-dev branch of mirage-skeleton?
> 
> It dies for me with "Tls.Config: invalid configuration: certificate type or
> usage does not match".
> 
> I don't understand where it is getting the certificate from -- there's
> no cert or key in the htdocs directory. Or is the above message just an
> obscure way of saying "Certificate not found"? :-)
> 
> If so, where do I put the certificate and key files?

yea, the example is quite minimal at the moment (basically it just tests that 
the linking works) and it is indeed missing the certificate code -- I was 
waiting for the next release of x.509 to generate a self-signed certificate[1]. 
In the meantime it would be easier to try to use mirage-seal[2] which have the 
same dependencies as the example, or to copy/paste some code from its dispatch 
function[3].

Best,
Thomas

[1]: https://github.com/mirage/mirage-skeleton/pull/85#issuecomment-106015777
[2]: https://github.com/mirage/mirage-seal
[3]: https://github.com/mirage/mirage-seal/blob/master/static/dispatch.ml#L108


_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.