Search This Blog

Saturday, October 20, 2018

Create Self Signed Certicate to Use For Minio

By default minio is using http. To configure minio to use TLS, you need to create a self signed certificate. Original post is taken from here:- https://docs.minio.io/docs/how-to-secure-access-to-minio-server-with-tls.html

But it take me a while to figure out. Therefore, i come out a guide with screenshot.

In our lab scenario, we are using Windows based system.

Let start the configuration
1. Use GnuTLS. Download GNUTLS for Windows from here.
2. Set the system variable to include the path.[Under environment variable] Example my GNUTLS has extracted to C:\Backup\gnutls-MinGW64.DLLs-gnutls_3_6_4\win64-build\bin

3.Use command line to execute:-
certtool.exe --generate-privkey --outfile private.key
Generating a 3072 bit RSA private key...

private.key is generated.

4. Create a cert.cnf file and put this entry:

# X.509 Certificate options
#
# DN options

# The organization of the subject.
organization = "Example Inc."

# The organizational unit of the subject.
#unit = "sleeping dept."

# The state of the certificate owner.
state = "Example"

# The country of the subject. Two letter code.
country = "MY"

# The common name of the certificate owner.
cn = "Lai"

# In how many days, counting from today, this certificate will expire.
expiration_days = 365

# X.509 v3 extensions

# DNS name(s) of the server
dns_name = "localhost"

# (Optional) Server IP address
ip_address = "127.0.0.1"

# Whether this certificate will be used for a TLS server
tls_www_server

# Whether this certificate will be used to encrypt data (needed
# in TLS RSA cipher suites). Note that it is preferred to use different
# keys for encryption and signing.
encryption_key
5. Run

certtool.exe --generate-self-signed --load-privkey private.key --template cert.cnf --outfile public.crt
It will create public.crt
Generating a self signed certificate...
X.509 Certificate Information:
        Version: 3
        Serial Number (hex): 59d89416fe9279c1e7967dd8c1ed165cc7a42587
        Validity:
                Not Before: Sat Oct 20 11:15:46 UTC 2018
                Not After: Sun Oct 20 11:15:46 UTC 2019
        Subject: C=MY,ST=Example,O=Example Inc.,CN=Lai
        Subject Public Key Algorithm: RSA
        Algorithm Security Level: High (3072 bits)
                Modulus (bits 3072):
                        00:dc:76:f5:e4:0e:bd:d4:42:14:07:e3:c5:19:82:81
                        4a:61:ee:8a:2a:76:49:81:c1:be:c8:ee:ff:89:9d:51
                        05:df:ac:cb:06:38:45:bb:87:e1:49:e8:5b:35:e7:4e
                        6e:7d:b4:b5:2a:91:83:10:2d:23:2e:01:06:49:73:fd
                        c9:29:6f:23:70:61:2c:5c:d4:0e:56:a3:f1:ca:bc:cb
                        c8:aa:c0:8b:02:43:45:91:d2:49:ac:1a:63:f3:22:f2
                        a8:ec:06:21:ef:db:fb:46:d3:a0:24:bf:f7:b2:63:0c
                        6c:ec:74:4d:8a:6a:60:a9:ad:a2:83:4e:2d:72:bb:71
                        df:5d:3f:dd:ec:2f:ba:d8:5f:e3:19:9b:38:09:8d:63
                        15:23:4f:69:2a:25:56:b0:21:ba:97:65:9b:5f:8e:27
                        a3:4a:1e:ef:5b:9d:3b:cc:a9:d1:94:dc:c7:a5:14:6c
                        90:cd:bc:08:4a:79:ce:e2:35:36:94:dc:0d:ba:b2:b5
                        8d:4b:a7:58:82:04:17:c5:aa:47:d6:19:32:b1:60:b3
                        a7:35:c9:c3:9f:6b:60:be:c5:ef:60:91:61:3c:22:d5
                        b1:6e:3e:28:ca:61:f6:8c:1e:59:e1:c8:f1:ce:6f:b8
                        aa:51:fc:db:92:01:63:80:3f:ee:a3:1e:00:76:2d:47
                        ef:16:8f:6c:f6:f6:e1:74:e7:b3:45:26:6f:1f:73:6d
                        4b:36:23:66:6b:5a:b9:57:b5:47:ca:61:1b:3b:7e:57
                        58:26:b1:b6:e9:07:7f:ec:60:1f:21:2e:7c:38:e6:23
                        39:cf:aa:87:53:75:f0:c1:3b:82:19:a4:e2:48:48:3d
                        8d:65:f7:da:67:4a:16:1e:6e:52:5b:f7:1f:11:ff:c0
                        c3:53:d0:94:64:75:ba:a8:99:7b:35:20:6a:34:e0:d0
                        95:b7:45:7c:13:44:51:7a:78:1c:10:b1:73:d9:92:7e
                        a9:1a:4c:c2:fa:85:1e:3e:22:a6:a6:d1:af:6e:80:ef
                        eb
                Exponent (bits 24):
                        01:00:01
        Extensions:
                Basic Constraints (critical):
                        Certificate Authority (CA): FALSE
                Subject Alternative Name (not critical):
                        DNSname: localhost
                        IPAddress: 127.0.0.1
                Key Purpose (not critical):
                        TLS WWW Server.
                Key Usage (critical):
                        Key encipherment.
                Subject Key Identifier (not critical):
                        9e5692715cd3badd71f601290ffcc1d2b7077877
Other Information:
        Public Key ID:
                sha1:9e5692715cd3badd71f601290ffcc1d2b7077877
                sha256:02025e1f401f84b942285b470b21e33c3db90cf0c9a275e84dfe9f260ce866bc
        Public Key PIN:
                pin-sha256:AgJeH0AfhLlCKFtHCyHjPD25DPDJonXoTf6fJgzoZrw=

Signing certificate...

6. Copy private.key and public.crt and put into C:\Users\UserProfileName\.minio\certs

7. Final verification, execute "minio sever C:\Backup\Minio [depend on your folder]


use Minio Client to verify:


Hope this help!

40 comments:

  1. Uno de los estilos más populares hechos por mk hoy es el Bolsos Michael Kors Rebajas. El Bolsos Michael Kors Baratos es un estilo clásico y funcional que las mujeres aman. Bolsas Michael Kors Outlet de materiales de calidad con artesanía detallada. Con todas estas ventajas, no es de extrañar que los bolsos michael kors baratos sean tan populares. Este bolsos michael kors rebajas es un bolso estilo embrague que es más tradicional en su diseño.

    Denna MK Väska kan bära böcker om du är en student och alla dina hemma arbeten om du har gått in i arbetslivet. Michael Kors Väska Rea gör också en påse stil väska och en swing stil. Väskor Michael Kors Rea har utökat sin linje för att inkludera en mängd tillbehör som inkluderar plånböcker, nyckelkedjor, kortväskor, checkbooköverdrag och kameratäckar. michael kors väska rea erbjuder också en fransk handväska och mini plånbok. michael kors väska har blivit känd som en kvalitetsdesigner som tillverkar en kvalitetsprodukt.

    Posséder un Longchamp Soldes Destockage n'est pas simplement une déclaration de mode. Toute femme intéressée par la qualité, la fonctionnalité et l’accessibilité financière devrait envisager un Sac Longchamp Bandouliere. Sac A Main Pas Cher, l’une des gammes de sacs à main et d’accessoires les plus populaires sur le marché à ce jour, propose une vaste gamme de produits longchamp soldes destockage. Puisque longchamp est si populaire, les sac longchamp pas cher sont souvent copiés.

    ReplyDelete
  2. Ray Ban Sunglasses Sale Uk are prepping for that fashionable holiday.
    Ray Ban Sale Uk are in the savvy eye of the stylish beholder.
    Ray Ban Sunglasses Sale Uk are much cheaper than you would pay in a regular store.
    Sunglasses UK meant for women are slightly different from men' varieties, so when you are choosing sun glasses for the women, you should keep in mind certain factors.
    Oakley Sunglasses Sale are very functional and known as spy sunglasses, because they are meant for recording videos and images.
    Cheap Oakley Sunglasses also offer polarization feature of the lens.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. http://freetechaid.com/1001/is-your-laptop-in-good-condition-when-should-you-go-for-the-laptop-repair-services/
    http://24techsupport.hatenablog.com/entry/2018/10/31/Certified_Laptop_Repair_Experts_Can_Fix_Software_And_Hardware_Issues
    http://weboldala.net/benefits-of-contract-maintenance-agreement/
    http://laptoprepairservices.strikingly.com/blog/7-amazing-points-to-illustrate-the-important-for-laptop-repair-near-me
    http://24techsupport.olanola.com/blog/43189434623/Benefits-of-Computer-AMC-Services
    https://www.webmasterscity.com/common-printer-issues-with-their-fixes
    http://www.exemcor.com/why-canon-is-the-best-printer-support-provider/

    ReplyDelete
  5. Alleyaaircool is the one of the best home appliances repair canter in all over Delhi we deals in repairing window ac, Split ac , fridge , microwave, washing machine, water cooler, RO and more other home appliances in cheap rates

    Window AC Repair in vaishali
    Split AC Repair in indirapuram
    Fridge Repair in kaushambi
    Microwave Repair in patparganj
    Washing Machine Repair in vasundhara
    Water Cooler Repair in indirapuram
    RO Service AMC in vasundhara
    Any Cooling System in vaishali
    Window AC Repair in indirapuram

    ReplyDelete
  6. One of the finest Indian restaurants in Oxford is the TreeHotel restaurant, founded in 2004, it offers fine, affordable Indian cuisine and it offers Indian cuisine with finely blended spices and seasoning to tantalize your senses. It offers a huge variety of Hyderabadi and north Indian cuisine at its finest with each dish transporting you to the very shores of India as it tells its own delicious tales through the exotic flavours and colors.
    Good restaurants in oxford
    Indian Restaurant Oxford

    ReplyDelete
  7. When you talk about printer there are bunch various brands comes in your cerebrum at any rate HP is the one brand that really made in the market. With the help of hp Printer Technical Support Number
    +1-888-326-0222 which is open by 24*7 you can find best solution for your printers. Our essential hobby is to make a long chain satisfied customers and give you the best course of action through the without toll HP Printer Technical Support Number+1-888-326-0222.

    ReplyDelete
  8. Are you facing issues in your HP printer? Well, the HP Printer Support Phone Number +1-855-381-2666 is here to assist you for all your technical or non-technical issues that you can face in your HP printer. It is quite normal to face issues in your printer but you don’t have to worry as the HP Printer Tech Support Phone Number+1-855-381-2666 is available for you 24/7 to provide you the required support.

    The HP Printer Support Phone Number +1-855-381-2666 provides the services for the following set or series of the printers:

    HP LaserJet printers.
    HP DeskJet printers.
    HP OfficeJet printers.
    HP Photosmart printers.
    HP Envy printers.
    All the above mentioned printer series are the best in market but still they are not away from the errors. But, you just need to dial the toll free HP Printer Support Phone Number +1-855-381-2666 and you can leave everything on us.

    ReplyDelete
  9. HP Printer Technical Support Number is an amazing group of experts who are quite impressive when it comes to deliver device repair related services. The experts at this support team are quite talented and humble while rendering their help.Dial HP Printer Support number to ask for solutions against your queries, anytime.

    ReplyDelete
  10. Are you looking for the QuickBooks Solution online?
    go to Our QuickBooks Support Phone Number for support.
    If you are looking for the best QuickBooks Support then You are almost there. We are here to resolve any type of problems you face. Small Business owner also loves the QuickBooks online accounting software. There are some highly skilled technicians in our QuickBooks technical support team. We offer you some great services with new techniques. We ensure that you get the fastest solution. Take a look at our service objectives.

    QuickBooks is a software which is promoted as the number one tool to boost business productivity and automate the tasks that are tedious in nature. But it is no secret that QuickBooks has millions of happy customers in every nook and corner of the world. QuickBooks provides flexibility and location independence to seamlessly manage their business tasks at any time from anywhere in the world. You can get more information about QuickBooks by calling on the QuickBooks Support Phone Number +1-855-686-6166.

    ReplyDelete
  11. Microsoft office setup is the product setup record with this setup document you can introduce on your PC and a portion of the bolstered gadget to utilize Microsoft office. if you are looking forwww.office.com/setup? here we provide the ms world setup and we also provide office product key activation. For more info www.webroot.com/safe

    ReplyDelete
  12. Hewlett Packard is the most ideal brand when it comes to Laptop, Desktop, and Printers. HP is a well-known multinational company which started its functioning in 1935. The efficient services and products that HP provided, it became renowned all over the world. By 1960s HP became a big name in Silicon Valley. This was mainly because of the unique designs and advanced technologies that HP brought to the users.


    HP printers provide outstanding printing options to its users. Moreover, HP also provides a vast variety of printers. HP has also made sure that the costing of the products that they bring to the market is reasonable and does not burn a hole in the pockets of people. HP also takes good care of their costumer’s post-sale. Printers being machines and which runs using software, it is highly common to come across minor glitches. HP makes sure they provide their users with the most efficient customer support service. HP Printer Customer Care Support is a service which is available 24×7. They provide their customers with well-experienced professionals who gave the ideal knowledge of getting around any kind of trouble that you might have to face while using an HP Printer.


    HP Printer Support Phone Number

    HP Printer Support

    HP Printer tech support

    HP Printer Customer Support Phone Number

    ReplyDelete
  13. HP printer support number allows you to direct contact with our technical support and can find your solution from our relaible technical support. Including technical support we also provide helpline support, customer care support and phone number support. check our link given in the description.We also Support the same for other printers.


    HP Printer Support

    HP Printer Support Number

    HP Printer Support Phone Number

    HP Printer Customer Support

    HP Printer Customer Support Number

    HP Printer Support Toll-Free Number

    HP Printer Tech Support Number

    HP Printer Technical Support Number

    HP Printer Technical Support Phone Number

    HP Printer Helpline Number

    HP Printer Helpline Phone Number

    HP Printer Support Helpline Number

    HP Printer Contact Number

    ReplyDelete
  14. Brother printer support allows you to interact your any technical issues about canon printers, with us. Brother printer support , we are here to help you out from any type of technical queries in brother printers. if you have any queries related brother printer visit our link given in the description. we are available 24*7 for you.We also Support the same for other printers.Brother Printer Support
    Brother Printer Support Number
    Brother Printer Support Phone Number
    Brother Printer Customer Support Number
    Brother Printer Support Toll-Free Number
    Brother Printer Tech Support Number
    Brother Printer Technical Support Number
    Brother Printer Technical Support Phone Number
    Brother Printer Helpline Number

    ReplyDelete
  15. Espon printer support number allows you to direct contact with our technical support and can find your solution from our relaible technical support. Including technical support we also provide helpline support, customer care support and phone number support. check our link given in the description.We also Support the same for other printers.





    Epson Printer Support

    Epson Printer Support Number

    Epson Printer Support Helpline Number

    Epson Printer Support Phone Number

    Epson Printer Technical Support Number

    Epson Printer Technical Support Phone Number

    Epson Printer Customer Support Number

    ReplyDelete
  16. HP Printer support number give wonderful printing choices to its customers. Likewise, besides gives a massive sort of printers. has moreover ensured that the cost accounting of the thing that they accomplish to the market is unassuming and doesn’t expend an opening inside the pockets of individuals. HP Printer support besides takes fabulous thought of their costumer’s post-bargain.

    HP Printer Technical Support Phone Number

    HP Printer Customer Support Phone Number

    HP Printer Support Number

    HP Printer Support Phone Number

    HP Printer Support Toll-Free Number

    HP Printer Support Helpline Number

    HP Printer Tech Support Phone Number

    ReplyDelete
  17. Canon Printer support Phone Number is one of the most acknowledged and support telephone number. It is known for its best helpline administration and amazing specialists that furnish the client with printers investigating steps. The issue and issues that are comprehended with the assistance of the client support are recorded underneath. We have highly experienced and reliable team members to help you out from any kind of technical errors in canon printers Canon Printer Customer Support Number

    Canon Printer Support Phone Number

    Canon Printer Technical Support Phone Number

    Canon Printer Support Toll-Free Number

    Canon Printer Helpline Phone Number

    Canon Printer Contact Number

    ReplyDelete
  18. Ordinarily, when a HP printer has a blunder, the reason is plainly appeared on the screen. Nonetheless, in different cases, the reason for the HP printer blunder might be a finished riddle. Rather than going on a pointless pursuit to locate the precise answer for the printer mistake, it’s smarter to attempt a progression of routine investigating steps first. In the event that these means neglect to fix the printer mistake, you may discover the arrangement on the HP site.


    HP Printer Doesn’t Print Color Correctly

    HP Printer Error Code 0X83C000A

    Hp Printer Error Code 0xc4eb9343

    Top 10 HP Printing Problems & How To Fix Them

    How To Fix HP Printer Errors

    How To Fix HP Printer Doesn’t Scan in Windows 10

    ReplyDelete