Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
osie
Commits
837b1b46
Commit
837b1b46
authored
Oct 19, 2022
by
Ivan Tyagov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Set x509 certificates policy on same OPC Ua port (default one)."
This reverts commit
bc0c17eb
.
parent
8474f431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
coupler/opc-ua-server/server.c
coupler/opc-ua-server/server.c
+2
-4
No files found.
coupler/opc-ua-server/server.c
View file @
837b1b46
...
...
@@ -91,9 +91,7 @@ int main(int argc, char **argv)
char
serverUrlBuffer
[
1
][
512
];
server
=
UA_Server_new
();
if
(
!
ENABLE_X509
){
UA_ServerConfig_setMinimal
(
UA_Server_getConfig
(
server
),
OPC_UA_PORT
,
NULL
);
}
UA_ServerConfig_setMinimal
(
UA_Server_getConfig
(
server
),
OPC_UA_PORT
,
NULL
);
UA_ServerConfig
*
config
=
UA_Server_getConfig
(
server
);
/* Disable binding to all specified interface until this feature(open62541 commit:16467fb5a9d2f9458e55071a2ec07bc68e1b960e)
...
...
@@ -159,7 +157,7 @@ int main(int argc, char **argv)
UA_ByteString
*
revocationList
=
NULL
;
size_t
revocationListSize
=
0
;
UA_StatusCode
retval
=
UA_ServerConfig_setDefaultWithSecurityPolicies
(
config
,
OPC_UA_PORT
,
UA_ServerConfig_setDefaultWithSecurityPolicies
(
config
,
4841
,
// XXX: why not use 4840 ?
&
certificate
,
&
privateKey
,
trustList
,
trustListSize
,
issuerList
,
issuerListSize
,
...
...
Ivan Tyagov
@Tyagov
mentioned in commit
061f6a85
·
Nov 02, 2022
mentioned in commit
061f6a85
mentioned in commit 061f6a85ec32593b4d9009c3f2a5e8e85a440f75
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment