For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
| Environment* CreateEnvironment(Isolate* isolate, uv_loop_t* loop, Handle<Context> context, int argc, const char* const* argv, int exec_argc, const char* const* exec_argv) { | |
| HandleScope handle_scope(isolate); | |
| Context::Scope context_scope(context); | |
| Environment* env = Environment::New(context, loop); | |
| isolate->SetAutorunMicrotasks(false); | |
| uv_check_init(env->event_loop(), env->immediate_check_handle()); | |
| uv_unref(reinterpret_cast<uv_handle_t*>(env->immediate_check_handle())); |
| // The contents of this file are subject to the Mozilla Public License | |
| // Version 1.1 (the "License"); you may not use this file except in | |
| // compliance with the License. You may obtain a copy of the License at | |
| // http://www.mozilla.org/MPL/ | |
| // | |
| // Software distributed under the License is distributed on an "AS IS" | |
| // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| // License for the specific language governing rights and limitations | |
| // under the License. | |
| // |
| private SubscribableChannel createInputChannel(String inputChannelName) { | |
| PublishSubscribeChannel channel = new PublishSubscribeChannel(); | |
| channel.setBeanName(inputChannelName); | |
| channel.setBeanFactory(applicationContext); | |
| //channel.setApplySequence(true); | |
| ((ConfigurableApplicationContext)applicationContext).getBeanFactory().registerSingleton(inputChannelName, channel); | |
| return channel; | |
| } |
For excessively paranoid client authentication.
Organization & Common Name: Some human identifier for this server CA.
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt