Sponsored Content
Full Discussion: Using openssl
Top Forums UNIX for Advanced & Expert Users Using openssl Post 302502588 by MichaelInDC on Tuesday 8th of March 2011 11:19:40 AM
Old 03-08-2011
Using openssl

All,

I am new to openssl and I have not been able to figure out exactly how to use it. What I need to do is to create a shell script which FTPS's (SFTP is not allowed on my project) a file to a mainframe. The mainframe will not initiate a session with my server.

Question. Are the packages that come with Solaris 10 all I need to do this, or do I need to install some 3rd party application as well? If what comes with Solaris is enough, then how do I script this?

Below is my server and package info.

SunOS lib56t31 5.10 Generic_141444-09 sun4v sparc SUNW,T5240

system SUNWopenssl-commands OpenSSL Commands (Usr)
system SUNWopenssl-include OpenSSL Header Files
system SUNWopenssl-libraries OpenSSL Libraries (Usr)
system SUNWopenssl-man OpenSSL Manual Pages
system SUNWopensslr OpenSSL (Root)



Any help you could give me would be greatly appreciated.

Michael
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

openssl help

I ungraded my openssl on sun solaris 8 from openssl 0.9.6c to openssl 0.9.6g the ungrade went fine but when I tried to ssh in to server, I received the following error message "ld.so.1: ./sshd: fatal: relocation error: file /usr/local/ssl/lib/libcrypto.so.0.9.6: symbol main: referenced symbol... (2 Replies)
Discussion started by: hassan2
2 Replies

2. Solaris

ERROR OpenSSL

ERROR OpenSSL version mismatch. Built against 908070, you have 9080bf^M 2009.11.20 15:23:25 ERROR Connection closed^M i am new in solaris,i not have great know in this operative system Help me how i can fixed this, in the machine has installed Solaris Machine hardware: ... (1 Reply)
Discussion started by: saurio
1 Replies

3. Solaris

Openssl 0.9.8r

Hi Peeps, Having trouble compiling openssl 0.9.8r on Solaris 10 x86. The make test fails when running the shatests (segmentation faults). There is a PROBLEM file that references a file called values.c. Anyone know whereabouts in the source tree you put this file as the file doesn't tell you... (2 Replies)
Discussion started by: callmebob
2 Replies

4. AIX

openssl issue

Gurus, As per audit recommendation i have installed openssl.base 0.9.8.803 and upgraded openssl from 9.7l to 9.8 as prerequisits. But post these installation ssh fails with below error message. exec(): 0509-036 Cannot load program ssh because of the following errors: 0509-150 ... (3 Replies)
Discussion started by: newaix
3 Replies

5. Shell Programming and Scripting

openSSL command help

I am running a openssl command like this: openssl s_client -showcerts -connect $fqdn:$portand the result is some ridiculous amount of stuff but i only want to cut out part of the certificate chain. How do i do that? (2 Replies)
Discussion started by: shade917
2 Replies

6. Solaris

Version of OpenSSL being used

Hello I'm relatively new to technologies like Apache & ssl but have some years experience with Unix. My question concerns the version of OpenSSL which is genuinely being used on our server & how is that set. The server is running Solaris 10. I'll show output from various commands: ... (1 Reply)
Discussion started by: CHoggarth
1 Replies

7. Shell Programming and Scripting

Openssl issue

Hi, I am using openssl as below for encryption of a string ( foo) and I have to pass the password twice for the same. echo 'foo' | openssl aes-256-cbc -a -salt enter aes-256-cbc encryption password: Verifying - enter aes-256-cbc encryption password:... (2 Replies)
Discussion started by: 46019
2 Replies

8. Cybersecurity

OpenSSL

I just started playing around with Unix's OpenSSL utility. I can't seem to get the hang of it, and the man page isn't helping much. I wanted to experiment with file encryption, so I created a dummy text file with one line of text and tried to encrypt it using DES. I used the following command: ... (2 Replies)
Discussion started by: Ultrix
2 Replies
Error Construction(3)					     globus gsi openssl error					     Error Construction(3)

NAME
Error Construction - Defines #define GLOBUS_ERROR_TYPE_OPENSSL Get Error Code unsigned long globus_openssl_error_handle_get_error_code (globus_openssl_error_handle_t handle) Get Error Data const char * globus_openssl_error_handle_get_data (globus_openssl_error_handle_t handle) Get Error Data Flags int globus_openssl_error_handle_get_data_flags (globus_openssl_error_handle_t handle) Get Filename const char * globus_openssl_error_handle_get_filename (globus_openssl_error_handle_t handle) Get Linenumber int globus_openssl_error_handle_get_linenumber (globus_openssl_error_handle_t handle) Get Library const char * globus_openssl_error_handle_get_library (globus_openssl_error_handle_t handle) Get Function const char * globus_openssl_error_handle_get_function (globus_openssl_error_handle_t handle) Get Reason const char * globus_openssl_error_handle_get_reason (globus_openssl_error_handle_t handle) Construct Error globus_object_t * globus_error_construct_openssl_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause) Initialize Error globus_object_t * globus_error_initialize_openssl_error (globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, globus_openssl_error_handle_t openssl_error_handle) Detailed Description Create and initialize a Globus OpenSSL Error object. This section defines operations to create and initialize Globus OpenSSLError objects. Define Documentation #define GLOBUS_ERROR_TYPE_OPENSSL Error type definition. Function Documentation unsigned long globus_openssl_error_handle_get_error_code (globus_openssl_error_handle_thandle) Get the openssl error code which represents the openssl error from the openssl error handle. Parameters: handle The openssl error handle Returns: The error code const char* globus_openssl_error_handle_get_data (globus_openssl_error_handle_thandle) Get the openssl error data which contains additional data about the error from the openssl error handle. Parameters: handle The openssl error handle Returns: The error data int globus_openssl_error_handle_get_data_flags (globus_openssl_error_handle_thandle) Get the openssl error data flags from the openssl error handle. Parameters: handle The openssl error handle Returns: The error data flags const char* globus_openssl_error_handle_get_filename (globus_openssl_error_handle_thandle) Get the filename where the openssl error occurred from the openssl error handle. Parameters: handle The openssl error handle Returns: The filename int globus_openssl_error_handle_get_linenumber (globus_openssl_error_handle_thandle) Get the linenumber on which the openssl error occurred from the openssl error handle. Parameters: handle The openssl error handle Returns: The linenumber const char* globus_openssl_error_handle_get_library (globus_openssl_error_handle_thandle) Get the library name where the openssl error occurred in from the openssl error handle. Parameters: handle The openssl error handle Returns: The library name const char* globus_openssl_error_handle_get_function (globus_openssl_error_handle_thandle) Get the function name where the openssl error occurred from the openssl error handle. Parameters: handle The openssl error handle Returns: The function name const char* globus_openssl_error_handle_get_reason (globus_openssl_error_handle_thandle) Get the reason string which caused the openssl error from the openssl error handle. Parameters: handle The openssl error handle Returns: The reson string globus_object_t* globus_error_construct_openssl_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause) Allocate and initialize an error of type GLOBUS_ERROR_TYPE_OPENSSL This function, combined with globus_error_initialize_openssl_error() will recursively generate globus error objects (of type globus_object_t) from the errors on openssl's static error stack. The errors will be chained in a causal fashion to provide a path to the root cause of the actual error. NOTE: the static stack openssl implements for its errors currently only supports at most 16 errors, so if more are added, the errors that were added first will be wiped out. If 16 errors are counted in the chain of openssl errors, its possible that some errors (including the original error) are missing. Parameters: base_source Pointer to the originating globus module. base_cause The error object causing the error. This parameter should be NULL in nearly all cases, as the root cause of an error will most likely be in the openssl code itself. The actual cause of the error is determined from the static stack of openssl errors. Returns: The resulting error object. It is the user's responsibility to eventually free this object using globus_object_free(). A globus_result_t may be obtained by calling globus_error_put() on this object. globus_object_t* globus_error_initialize_openssl_error (globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, globus_openssl_error_handle_topenssl_error_handle) Initialize a previously allocated error of type GLOBUS_ERROR_TYPE_OPENSSL. Parameters: error The previously allocated error object. base_source Pointer to the originating module. base_cause The error object causing the error. If this is the original error this paramater may be NULL. openssl_error_handle The openssl error handle associated with this error, this parameter should already be initialized to contain the openssl error code associated with the error. Returns: The resulting error object. You may have to call globus_error_put() on this object before passing it on. Author Generated automatically by Doxygen for globus gsi openssl error from the source code. Version 2.1 Wed Jan 25 2012 Error Construction(3)
All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy