Github user parthchandra commented on a diff in the pull request:

    https://github.com/apache/drill/pull/950#discussion_r142822245
  
    --- Diff: contrib/native/client/readme.ssl ---
    @@ -0,0 +1,58 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +Installing OpenSSL - 
    +    On Mac: 
    +        brew install openssl
    +    On Linux :
    +
    +Set up the certificate
    +    Generate a private key
    +
    +        openssl genrsa -des3 -out drillTestServerKey.pem 1024
    +
    +    Generate Certificate signing request
    +
    +        openssl req -new -key drillTestServerKey.pem -out 
drillTestServer.csr
    +
    +    Sign certificate with private key
    +
    +        openssl x509 -req -days 3650 -in drillTestServer.csr -signkey 
drillTestServerKey.pem -out drillTestCert.pem
    +
    +    Remove password requirement (needed for example)
    +
    +        cp drillTestServerKey.pem drillTestServerKey.safe.pem
    +        openssl rsa -in drillTestServerKey.safe.pem -out 
drillTestServerKey.pem
    +
    +    Generate dhparam file
    +
    +        openssl dhparam -out dh512.pem 512
    --- End diff --
    
    The server side of the boost example uses this file to initialize 
diffie-helman key exchange. It is not needed.


---

Reply via email to