Show More
@@ -598,12 +598,14 b' Missing certificate file(s) are detected' | |||||
598 |
|
598 | |||
599 | $ hg serve -p $HGPORT --certificate=/missing/certificate \ |
|
599 | $ hg serve -p $HGPORT --certificate=/missing/certificate \ | |
600 | > --config devel.servercafile=$PRIV --config devel.serverrequirecert=true |
|
600 | > --config devel.servercafile=$PRIV --config devel.serverrequirecert=true | |
601 | abort: referenced certificate file (/missing/certificate) does not exist |
|
601 | abort: referenced certificate file (*/missing/certificate) does not exist (glob) (windows !) | |
|
602 | abort: referenced certificate file (/missing/certificate) does not exist (no-windows !) | |||
602 | [255] |
|
603 | [255] | |
603 |
|
604 | |||
604 | $ hg serve -p $HGPORT --certificate=$PRIV \ |
|
605 | $ hg serve -p $HGPORT --certificate=$PRIV \ | |
605 | > --config devel.servercafile=/missing/cafile --config devel.serverrequirecert=true |
|
606 | > --config devel.servercafile=/missing/cafile --config devel.serverrequirecert=true | |
606 | abort: referenced certificate file (/missing/cafile) does not exist |
|
607 | abort: referenced certificate file (*/missing/cafile) does not exist (glob) (windows !) | |
|
608 | abort: referenced certificate file (/missing/cafile) does not exist (no-windows !) | |||
607 | [255] |
|
609 | [255] | |
608 |
|
610 | |||
609 | Start hgweb that requires client certificates: |
|
611 | Start hgweb that requires client certificates: | |
@@ -647,12 +649,14 b' with client certificate:' | |||||
647 | Missing certficate and key files result in error |
|
649 | Missing certficate and key files result in error | |
648 |
|
650 | |||
649 | $ hg id https://localhost:$HGPORT/ --config auth.l.cert=/missing/cert |
|
651 | $ hg id https://localhost:$HGPORT/ --config auth.l.cert=/missing/cert | |
650 | abort: certificate file (/missing/cert) does not exist; cannot connect to localhost |
|
652 | abort: certificate file (*/missing/cert) does not exist; cannot connect to localhost (glob) (windows !) | |
|
653 | abort: certificate file (/missing/cert) does not exist; cannot connect to localhost (no-windows !) | |||
651 | (restore missing file or fix references in Mercurial config) |
|
654 | (restore missing file or fix references in Mercurial config) | |
652 | [255] |
|
655 | [255] | |
653 |
|
656 | |||
654 | $ hg id https://localhost:$HGPORT/ --config auth.l.key=/missing/key |
|
657 | $ hg id https://localhost:$HGPORT/ --config auth.l.key=/missing/key | |
655 | abort: certificate file (/missing/key) does not exist; cannot connect to localhost |
|
658 | abort: certificate file (*/missing/key) does not exist; cannot connect to localhost (glob) (windows !) | |
|
659 | abort: certificate file (/missing/key) does not exist; cannot connect to localhost (no-windows !) | |||
656 | (restore missing file or fix references in Mercurial config) |
|
660 | (restore missing file or fix references in Mercurial config) | |
657 | [255] |
|
661 | [255] | |
658 |
|
662 |
General Comments 0
You need to be logged in to leave comments.
Login now