LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2018, 09:24 AM   #1
phipm1
LQ Newbie
 
Registered: May 2017
Posts: 20

Rep: Reputation: Disabled
permissons changing on files in openssl


I'm setting up openssl for SAN certificates. When I run openssl for regular self sign certificates everything work fine. However when I'm trying to generate SAN by using the openssl config which is setup for SAN I run into a problem. When I run the command, the certificates get generate but there are duplicates certificates in the newcerts directory. One will be the name I have assigned, the other the serial number. Also the index.txt and serial files are set at 600 but after running my command it changes the permission on those two files and also creates backups. Then when you go to do another SAN certificate it will not work at all until you chmod index.txt and serial back to 600. The area I generate the regular self signed is located in one directory up in CA. Everything works correctly in that directory. I even have tried moving the SAN config into CA and run it out of there but it still does the same thing.

Last edited by phipm1; 07-13-2018 at 09:24 AM. Reason: forgot to add the attachment
 
Old 07-13-2018, 09:27 AM   #2
phipm1
LQ Newbie
 
Registered: May 2017
Posts: 20

Original Poster
Rep: Reputation: Disabled
permissons changing on files in openssl

here is a screenshot
Attached Thumbnails
Click image for larger version

Name:	7-13-2018 7-41-59 AM.png
Views:	8
Size:	24.4 KB
ID:	28098  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does recursive mutex lock in openssl will affect other openssl users in same system? T.Selvan Linux - Networking 3 02-09-2016 12:59 AM
LXer: Using OpenSSL to encrypt messages and files on Linux LXer Syndicated Linux News 0 01-22-2013 08:00 AM
knowing all files/directories with the 777 file permissons in system running RHEL6 hariomp Linux - Newbie 1 09-18-2012 12:24 AM
about openssl development files AbuLaila Linux - Newbie 2 01-17-2012 01:17 AM
md5/sha1 Openssl libraries gives different output for binary files return.c Programming 1 03-24-2008 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration