Skip to content

Commit 1a70dc5

Browse files
committed
Enable SSL verification
1 parent 1766651 commit 1a70dc5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Boot.hx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ class Boot extends BaseBoot {
7070
});
7171
#end
7272

73+
#if orbis
74+
// Enable SSL certificate verification
75+
Socket.DEFAULT_CA = Certificate.loadFile("/system/common/cert/CA_LIST.cer");
76+
#end
77+
7378
Validator.extend("fileExists", (attribute:String, value:Dynamic, params:Array<Dynamic>) -> {
7479
if(!(value is String))
7580
return false;

0 commit comments

Comments
 (0)