Visit Our UNIX and Linux User Community


Using openssl


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Using openssl
# 1  
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
# 2  
Old 03-08-2011
Open SSL contains cleints and servers for scp, ssh, sftp and support for https. If your target mainframe has ssh daemons running, then you can move data with scp, sftp or ssh clients! I would scp. You cannot use it for ftp per se, not even through a tunnel.
# 3  
Old 03-08-2011
The mainframe does not allow for ssh. Only FTPS.
# 4  
Old 03-08-2011
FTP with SSL support is not part of openssl. You may need to install a third-party application.
# 5  
Old 03-08-2011
FTPS might be SFTP, IBM being persistently and patologically ignorant of standards, but no, they reinvented that wheel:

FTPS - Wikipedia, the free encyclopedia

A very forgettable fact unless your are getting some of that IBM flavored money.

Well, lftp might be your ticket, gftp seems to be graphical X interactive, but nice to have for prod support.

Looking for ftps client

Freeware List for SPARC and Solaris 10

I never seem to be root, so I a no pkg fan, but they are available:

Freeware List for SPARC and Solaris 10

Curl is real nice for batch, just make a URL and go:

Freeware List for SPARC and Solaris 10
Freeware List for SPARC and Solaris 10
# 6  
Old 03-08-2011
Thanks to you both for your responses.

DG, I will look into the products you mentioned.
# 7  
Old 03-12-2011
Quote:
Originally Posted by Corona688
FTP with SSL support is not part of openssl. You may need to install a third-party application.
Correct.

When dealing with FTP in general, don't expect the most secure solution.

Previous Thread | Next Thread
Test Your Knowledge in Computers #243
Difficulty: Easy
The starting point for host-to-host communication on the ARPANET in 1969 was the 1822 protocol.
True or False?

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

Featured Tech Videos